postfix-policyd-spf-perl/debian
Julian Mehnle 0e669aacca postfix-policyd-spf-perl/trunk/postfix-policyd-spf-perl
* use NetAddr::IP
* Added another handler (sub exempt_localhost) at the front that exempts
  localhost (IPv4 and IPv6) addresses from further processing.  Dropped
  special-cased localhost exemption.
* Changed localhost message header from 'X-SPF' to 'X-Comment', and adjusted
  the header text slightly.
* Various minor clean-ups.

postfix-policyd-spf-perl/trunk/INSTALL
postfix-policyd-spf-perl/trunk/debian/control
* Note that NetAddr-IP 4 is required.
2007-02-07 23:13:46 +00:00
..
changelog Kicked version to 2.000 in preparation for release. 2007-02-05 21:47:52 +00:00
compat postfix-policyd-spf-perl/trunk/postfix-policyd-spf -> postfix-policyd-spf-perl 2006-06-17 18:42:33 +00:00
control postfix-policyd-spf-perl/trunk/postfix-policyd-spf-perl 2007-02-07 23:13:46 +00:00
copyright Trunk changed for mail:SPF. 1.08.1/debian tags updated for Ubuntu lessons learned. 2007-02-03 21:46:00 +00:00
docs Remove test cases from svn and add debian/docs and debian/postfix-policyd-spf-perl.8 2007-02-04 22:45:50 +00:00
postfix-policyd-spf-perl.8 * Skip SPF checks for local (127.) connections 2007-02-07 12:59:17 +00:00
README.Debian Trunk changed for mail:SPF. 1.08.1/debian tags updated for Ubuntu lessons learned. 2007-02-03 21:46:00 +00:00
rules Trunk changed for mail:SPF. 1.08.1/debian tags updated for Ubuntu lessons learned. 2007-02-03 21:46:00 +00:00

Installing
----------

 1. Add the following to /etc/postfix/master.cf:

        policy  unix  -       n       n       -       -       spawn
            user=nobody argv=/usr/bin/perl /usr/sbin/postfix-policyd-spf-perl

 2. Configure the Postfix policy service in /etc/postfix/main.cf:

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

    NOTE:  Specify check_policy_service AFTER reject_unauth_destination or
    else your system can become an open relay.

 3. Restart Postfix.