skip to navigation
skip to content

pypolicyd-spf 1.3

pypolicyd-spf SPF Postfix policy server implemented in Python.

Latest Version: 2.0.2

Python Postfix Policy for SPF (python-policy-spf) 1.3
Python based policy daemon for Postfix SPF checking
Tumgreyspf source
Copyright © 2004-2005, Sean Reifschneider,, ltd.
python-policyd-spf changes
Copyright © 2007-2014 Scott Kitterman <>
<https:"" pypolicyd-spf="">
Documentation inputs:
Copyright © 2004-2005, Sean Reifschneider,, ltd.
2003-2004 Meng Weng Wong <> from postfix-policyd-spf-perl
Copyright © 2007-2014 Scott Kitterman <>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.


This is python-policyd-spf, an external policy checker for the postfix mail
server. It will use pyspf to check SPF records to determine if email should
be rejected by your server.

To install from the tar.gz (if this software has been packaged for your
distribution, the packaged version is recommended and should be installed
using your normal distribution packaging tools):

1. Extract the package from the tarball (tar -xvvzf ...)
2. Enter the package directory (cd ...)
3. python build
4. As root python install

It requires Python (python2.6, python2.7, or python3.2+), the pyspf
(python-spf) library version 2.0.7 or higher (2.0.9 is required for all
changes related to the RFC 7208 updates to the SPF design), and (for Python
versions before python3.3, the ipaddr module - for python3.3 and later the
built-in ipaddress module is used).

If pyspf not available through your packaging system, it can be downloaded

If ipaddr not available through your packaging system, it can be downloaded

To use the optional RFC 7001 Authentication-Results header, the authres module
is also needed. It is also need to run some tests. It can be downloaded from
pypi or from:

Nothing is configured by default, so this will not interact with Postfix until
it has been set up.

See man 1 policyd-spf for information on setting up and using this policy

See man 5 policyd-spf.conf for configuration file information.

File Type Py Version Uploaded on Size
pypolicyd-spf-1.3.tar.gz (md5, pgp) Source 2014-05-10 31KB