Fix up documentation a bit in response to Debian bugs.

This commit is contained in:
Scott Kitterman 2008-07-26 01:30:51 +00:00
commit de4919466b
3 changed files with 14 additions and 5 deletions

View file

@ -4,6 +4,10 @@
# ! = Changed something significant, or removed a feature # ! = Changed something significant, or removed a feature
# * = Fixed a bug, or made a minor improvement # * = Fixed a bug, or made a minor improvement
--- 2.007 (2008-07-25 22:24 -0400)
* Update documentation and examples, see Debian bugs 492420 and 492421 for
details.
--- 2.006 (2008-07-18 00:49 -0400) --- 2.006 (2008-07-18 00:49 -0400)
* Add default logging to make it easier to determine what SPF identity is * Add default logging to make it easier to determine what SPF identity is
being used being used

View file

@ -17,7 +17,7 @@ Installing
2. Add the following to /etc/postfix/master.cf: 2. Add the following to /etc/postfix/master.cf:
policy unix - n n - 0 spawn policy unix - n n - 0 spawn
user=nobody argv=/usr/bin/perl /usr/local/lib/policyd-spf-perl user=nobody argv=/usr/local/lib/policyd-spf-perl
3. Configure the Postfix policy service in /etc/postfix/main.cf: 3. Configure the Postfix policy service in /etc/postfix/main.cf:
@ -27,9 +27,14 @@ Installing
check_policy_service unix:private/policy check_policy_service unix:private/policy
... ...
NOTE: Specify check_policy_service AFTER reject_unauth_destination or NOTES:
Specify check_policy_service AFTER reject_unauth_destination or
else your system can become an open relay. else your system can become an open relay.
The user 'nobody' is used in this example. This is appropriate if you
do not have any other services running as nobody. If you do, create a
dedicated user for this service and use it instead.
4. Add "policy_time_limit = 3600" to main.cf 4. Add "policy_time_limit = 3600" to main.cf
5. Restart Postfix. 5. Restart Postfix.

4
README
View file

@ -1,4 +1,4 @@
postfix-policyd-spf-perl 2.006 postfix-policyd-spf-perl 2.007
A Postfix SMTPd policy server for SPF checking A Postfix SMTPd policy server for SPF checking
(C) 2007-2008 Scott Kitterman <scott@kitterman.com> (C) 2007-2008 Scott Kitterman <scott@kitterman.com>
(C) 2007 Julian Mehnle <julian@mehnle.net> (C) 2007 Julian Mehnle <julian@mehnle.net>
@ -62,7 +62,7 @@ Testing the policy daemon
To test the policy daemon by hand, execute: To test the policy daemon by hand, execute:
% perl /usr/local/lib/policyd-spf-perl % /usr/local/lib/policyd-spf-perl
Each query is a bunch of attributes. Order does not matter, and the daemon Each query is a bunch of attributes. Order does not matter, and the daemon
uses only a few of all the attributes shown below: uses only a few of all the attributes shown below: