date: 2006-04-04 20:42:41+00:00

Postfix + SPF

categories: - Howto - Linux - Postfix

Enable SPF if you believe you need it.. For your information, SPF is not widely used

You'll need Mail::SPF::Query : 1. perl -MCPAN -e shell 2. Under CPAN : install Mail::SPF::Query 3. Quit CPAN after installation of the library

Install libspf2-1.0.4 and libspf2-devel-1.0.4 from

wget -O /etc/postfix/

chmod 755 /etc/postfix/

Edit /etc/postfix/ : spfpolicy unix - n n - - spawn user=nobody argv=/usr/bin/perl /etc/postfix/

Edit /etc/postfix/ :

<code>check_policy_service unix:private/spfpolicy

smtpd_recipient_restrictions =
        check_policy_service unix:private/spfpolicy</code>

service postfix restart

Check /var/log/maillog for SPF output