No description
  • Perl 99.4%
  • Shell 0.6%
Find a file
Julian Mehnle 292876bc36 postfix-policyd-spf-perl/trunk/LICENSE
* Added an explicit copy of the GPLv2 to satisfy Ubuntu.

postfix-policyd-spf-perl/trunk/README
* Mentioned the explicit copy of the license and fixed a bogus wording that
  was leftover from another package from which the README file was originally
  copied.

postfix-policyd-spf-perl/trunk/postfix-policyd-spf-perl
* Removed superfluous definition of the $syslog_priority variable.

postfix-policyd-spf-python
postfix-policyd-spf-python/trunk
postfix-policyd-spf-python/tags
* Added.
2007-01-10 14:19:43 +00:00
debian postfix-policyd-spf-perl/trunk/README 2006-06-17 18:58:27 +00:00
CHANGES postfix-policyd-spf-perl/trunk/postfix-policyd-spf -> postfix-policyd-spf-perl 2006-06-17 18:42:33 +00:00
INSTALL postfix-policyd-spf-perl/trunk/README 2006-06-17 18:58:27 +00:00
LICENSE postfix-policyd-spf-perl/trunk/LICENSE 2007-01-10 14:19:43 +00:00
postfix-policyd-spf-perl postfix-policyd-spf-perl/trunk/LICENSE 2007-01-10 14:19:43 +00:00
README postfix-policyd-spf-perl/trunk/LICENSE 2007-01-10 14:19:43 +00:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

postfix-policyd-spf-perl 1.08
A Postfix SMTPd policy server for SPF checking
(C) 2003-2004 Meng Weng Wong <mengwong@pobox.com>
Contributions by various members of the SPF project
<http://new.openspf.org/Implementations>
==============================================================================

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 or README.Debian for installation instructions.

Usage:
    policyd-spf-perl [-v]

This documentation assumes you have read Postfix's README_FILES/
SMTPD_POLICY_README.

Logging is sent to syslogd.

Each time a Postfix SMTP server process is started it connects to the policy
service socket, and Postfix runs one instance of this Perl script.  By
default, a Postfix SMTP server process terminates after 100 seconds of idle
time, or after serving 100 clients.  Thus, the cost of starting this Perl
script is smoothed out over time.

The default policy_time_limit is 1000 seconds.  This may be to short for some
SMTP transactions to complete.  As recommended in SMTPD_POLICY_README, this
should be extended to 3600 seconds.  To do so, set "policy_time_limit = 3600"
in /etc/postfix/main.cf.

Testing the policy daemon
-------------------------

To test the policy daemon by hand, execute:

    % perl /usr/lib/postfix/policyd-spf-perl

Each query is a bunch of attributes.  Order does not matter, and the daemon
uses only a few of all the attributes shown below:

    request=smtpd_access_policy
    protocol_state=RCPT
    protocol_name=SMTP
    helo_name=some.domain.tld
    queue_id=8045F2AB23
    sender=foo@bar.tld
    recipient=bar@foo.tld
    client_address=1.2.3.4
    client_name=another.domain.tld
    [empty line]

The policy daemon will answer in the same style, with an attribute list
followed by a empty line:

    action=dunno
    [empty line]

License
-------

postfix-policyd-spf-perl is free software.  You may use, modify, and distribute
it under the GNU GPL (version 2 or later); see the LICENSE file.

# $Id$
# vim:tw=79