postfix-policyd-spf-perl/debian
2007-02-03 21:46:00 +00:00
..
changelog Trunk changed for mail:SPF. 1.08.1/debian tags updated for Ubuntu lessons learned. 2007-02-03 21:46:00 +00:00
compat postfix-policyd-spf-perl/trunk/postfix-policyd-spf -> postfix-policyd-spf-perl 2006-06-17 18:42:33 +00:00
control Trunk changed for mail:SPF. 1.08.1/debian tags updated for Ubuntu lessons learned. 2007-02-03 21:46:00 +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
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.