Skip to main content

pypolicyd-spf SPF Postfix policy server implemented in Python.

Project description

Python Postfix Policy for SPF (python-policy-spf) 2.0.0
Python based policy daemon for Postfix SPF checking
Tumgreyspf source
Copyright © 2004-2005, Sean Reifschneider, tummy.com, ltd.
<jafo@tummy.com>
python-policyd-spf changes
Copyright © 2007-2016 Scott Kitterman <scott@kitterman.com>
<https://launchpad.net/pypolicyd-spf>
Documentation inputs:
Copyright © 2004-2005, Sean Reifschneider, tummy.com, ltd.
<jafo@tummy.com>
2003-2004 Meng Weng Wong <mengwong@pobox.com> from postfix-policyd-spf-perl
Copyright © 2007-2016 Scott Kitterman <scott@kitterman.com>

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

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
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 setup.py build
4. As root python setup.py install

It requires Python3 (python3.3+) - as of version 2.0.0, python2 is no longer
supported, the pyspf (python-spf) library version 2.0.9 or higher.

If pyspf not available through your packaging system, it can be downloaded
from pypi at https://pypi.python.org/pypi/pyspf/.

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:

https://launchpad.net/authentication-results-python

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
server.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypolicyd-spf-2.0.1.tar.gz (38.1 kB view details)

Uploaded Source

File details

Details for the file pypolicyd-spf-2.0.1.tar.gz.

File metadata

  • Download URL: pypolicyd-spf-2.0.1.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypolicyd-spf-2.0.1.tar.gz
Algorithm Hash digest
SHA256 9124865c3434b40ecbe6e761d05039b670d403e04d2736f3ffbbc8788f47d127
MD5 d93d14bb41bccd076ee05535822cbb80
BLAKE2b-256 9dc7d8d2cf305650f99ca75da396c56a1fa0cc6ab0167fd14cc6091e4ee5ce5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page