SPF debian package configuration problem

Alejandro Cabrera Obed <[email protected]> Fri, 04 Jan 2008 14:46:22 -0200
Newsgroups gmane.mail.spam.spf.devel
Organization SINTyS
Message-ID <[email protected]>
Dear people,

I've have a mail server composed by DebianEtch + Postfix 2.3.8-2 + Courier 4.1. I've installed SPF as a Debian package in order to check incoming mail, I do this:

# apt-get install libmail-spf-query-perl

# wget http://www.openspf.org/source/software/postfix-policyd-spf-perl/tags/2.005.tar.gz <http://www.openspf.org/postfix-policyd.txt>

After that I untar and take the postfix-policyd-spf-perl and I do:

# mv postfix-policyd-spf-perl /usr/local/sbin/smtpd-policy.pl

# chmod 755 /usr/local/sbin/smtpd-policy.pl

In /etc/postfix/main.cf I add:

    smtpd_recipient_restrictions =
       ...
       reject_unknown_sender_domain
       reject_unauth_destination
       check_policy_service unix:private/policy
       ...

I /etc/postfix/master.cf I add:

  policy  unix  -       n       n       -       -       spawn
      user=nobody argv=/usr/bin/perl /usr/local/sbin/smtpd-policy.pl

Finally:

# postfix reload 

But after that when I send a message from Hotmail to my local mail account, the message doesn't come to me and I get this errors in my /var/log/mail.log file:


Jan  4 12:38:24 mail postfix/smtpd[12439]: NOQUEUE: reject: RCPT from blu139-omc3-s6.blu139.hotmail.com[65.55.175.206] 451 4.3.5 Server
configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<blu139-omc3-s6.blu139.hotmail.com>
Jan  4 12:38:24 mail postfix/smtpd[12439]: disconnect from blu139-omc3-s6.blu139.hotmail.com[65.55.175.206]
Jan  4 12:39:05 mail postfix/spawn[12350]: warning: command /usr/bin/perl exit status 2
Jan  4 12:39:05 mail postfix/smtpd[12348]: warning: premature end-of-input on private/policy while reading input attribute name
Jan  4 12:39:06 mail postfix/smtpd[12348]: warning: problem talking to server private/policy: Connection reset by peer

What can be the problem with SPF ??? How can I check if it works OK ???

Special thanks

Alejandro

-------------------------------------------
Sender Policy Framework: http://www.openspf.org
Archives: http://v2.listbox.com/member/archive/1007/=now
RSS Feed: http://v2.listbox.com/member/archive/rss/1007/
Modify Your Subscription: http://v2.listbox.com/member/?member_id=6959932&id_secret=81838459-9d934f
Powered by Listbox: http://www.listbox.com