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

postfix with policyd-weight



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

Everything working OK until implementing policy-weightd
I hope someone can point out my mistake, here are my conf files

mail.cf
[...]
smtpd_recipient_restrictions = 
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,
    permit_mynetworks,
    reject_unauth_destination,
    check_policy_service unix:private/policy,
    reject_unauth_pipelining,
    reject_invalid_helo_hostname,
    reject_non_fqdn_helo_hostname,
    reject_rbl_client zen.spamhaus.org
smtpd_data_restrictions = reject_unauth_pipelining
[..]


master.cf
[...]
policy unix    -    n    n    -    -    spawn
  user=polw argv=/usr/bin/perl /usr/lib/postfix/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
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]


Thanks


      Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline


Reply to: