[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix with policyd-weight



Phillipus Gunawan a écrit :
> Hi there,
> 
> I am trying to build postfix mail MTA spam with guide from 
> http://www.howtoforge.com/the-perfect-spamsnake-ubuntu-8.04-p1
> 

judging from -p4, where the author puts "reject_unauth_pipelining" in
smtpd_recipient_restrictions, I'd say just zap the whole thing.

note also that mailscanner isn't recommended with postfix. better use
amavisd-new.

anyway, the offcial postfix docs are on
	http://www.postfix.org/documentation.html
and the postfix-users list a the good place for questions... etc,

> [snip]
> 
> [...]
> policy unix    -    n    n    -    -    spawn
>   user=polw argv=/usr/bin/perl /usr/lib/postfix/policyd-spf-perl

this is not policyd-weight. this is policyd-spf-perl.

> [...]
> 
> 
> /usr/lib/postfix/policyd-spf-perl owned by polw:polw
> 
> 
> Error log:
> postfix/smtpd[3112]: connect from web65713.mail.ac4.yahoo.com[76.13.9.105]
> postfix/spawn[3117]: warning: command /usr/bin/perl exit status 2

what happens if you run the perl script manually?

> postfix/smtpd[3112]: warning: premature end-of-input on private/policy while reading input attribute name
> postfix/spawn[3117]: warning: command /usr/bin/perl exit status 2
> postfix/smtpd[3112]: warning: premature end-of-input on private/policy while reading input attribute name
> postfix/smtpd[3112]: warning: problem talking to server private/policy: Connection reset by peer
> postfix/smtpd[3112]: NOQUEUE: reject: RCPT from web65713.mail.ac4.yahoo.com[76.13.9.105]: 451 4.3.5 Server configuration problem; from=<mr_phillipus@yahoo.com> to=<phillipus@silverquebes.com> proto=SMTP helo=<web65713.mail.ac4.yahoo.com>
> postfix/smtpd[3112]: disconnect from web65713.mail.ac4.yahoo.com[76.13.9.105]
> 
> 


Reply to: