diff --git a/INSTALL b/INSTALL index 9e9c3cd..1f057e9 100644 --- a/INSTALL +++ b/INSTALL @@ -12,7 +12,7 @@ Installing 1. Copy postfix-policyd-spf-perl to /usr/lib/postfix/policyd-spf-perl - 2. Add the following line to /etc/postfix/master.cf: + 2. Add the following to /etc/postfix/master.cf: policy unix - n n - - spawn user=nobody argv=/usr/bin/perl /usr/lib/postfix/policyd-spf-perl @@ -28,5 +28,7 @@ Installing NOTE: Specify check_policy_service AFTER reject_unauth_destination or else your system can become an open relay. + 4. Restart Postfix. + # $Id: README 167 2005-01-17 18:26:45Z julian $ # vim:tw=79 diff --git a/README b/README index 75bf03d..80f551c 100644 --- a/README +++ b/README @@ -8,7 +8,7 @@ Contributions by various members of the SPF project postfix-policyd-spf-perl is a Postfix SMTPd policy daemon for SPF checking. It is implemented in pure Perl and uses the Mail::SPF::Query CPAN module. -See INSTALL for installation instructions. +See INSTALL or README.Debian for installation instructions. Usage: policyd-spf-perl [-v] diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..af1060e --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,23 @@ +Installing +---------- + + 1. Add the following to /etc/postfix/master.cf: + + policy unix - n n - - spawn + user=nobody argv=/usr/bin/perl /usr/lib/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. + +# $Id: README 167 2005-01-17 18:26:45Z julian $ +# vim:tw=79 diff --git a/debian/control b/debian/control index 987d0b8..f1c9337 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,8 @@ Source: postfix-policyd-spf-perl Section: mail Priority: optional Maintainer: Julian Mehnle -Build-Depends-Indep: debhelper (>= 5), perl (>= 5.6) +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.6) Standards-Version: 3.7.2 Package: postfix-policyd-spf-perl diff --git a/debian/rules b/debian/rules index 435fce5..0c49c0f 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,7 @@ endif TMP = $(CURDIR)/debian/$(PACKAGE) -build: build-stamp +build: # Nothing to do. clean: