Tiny SPF logo, depicts checking of envelope from
Downloads
Many of the things you need to run SPF
Patches for MTAs
Programming libraries
FAQDownloadsSitemapContact Us
How it WorksNews What it Does ServicesForums

Mail::SPF::Query

The Perl module Mail::SPF::Query has been the very first implementation of SPF and is currently the de facto reference implementation. It roughly conforms to the latest specification, however due to its long heritage (reaching back to 2003) there are some deviations. The Mail::SPF::Query package includes a comprehensive test suite, a command-line query tool, a query server, and sample plugins for several mail servers. The library also supports a number of non-standard features, such as best-guess processing or trusted forwarder accreditation checking. Developers should read the developer's guide for more information.

The project is currently working on a new Perl module, Mail::SPF, to replace Mail::SPF::Query as the reference implementation (ETA April 2006).

Mail::SPF::Query has been packaged at least for Debian and RedHat/Fedora.

C libraries

James Couzens and Sean Comeau have implemented libspf. It comes with patches for Sendmail, Qmail, and Courier.

Wayne has written an alternative implementation called libspf-alt. It is now part of libspf2.

Python Libraries

Terence Way has implemented SPF in Python.

Java Libraries

Roger Fullerton has released an SPFJava library.

Other

Joshua Tauberer has written an extension for Mozilla Thunderbird.

Windows

Michael R Brumm has written an SMTP SPF Filter which has been bought by GFI Software but remains available as freeware; congratulations!

Roger Moser has written an implementation for Windows.

Johan Strand has written an SPF event sink for Windows 2000.

The commercial antispam solution Aloaha has added SPF support as a freeware component.

SPF Patches for MTAs

The following features need to be added to MTAs to make them SPF-conformant:

  • (required) SPF testing through DNS lookups.
  • (optional, but strongly recommended) Addition of the Received-SPF header.
  • (bonus) Sender Address Rewriting to accommodate forwarding and bounce reporting.
If you'd like to get involved, join the spf-devel mailing list! You should also look at the Developers Guide which describes best practices.

Shevek is working on building MTAs that have SPF and SRS all built in. His status page describes many MTAs.

Postfix

Policy Daemon: Postfix-Policyd v1.07 for Postfix versions 2.1 and higher, by Meng Weng Wong.

An SMTP Proxy version will be released soon.

Sendmail

Milter: Milter-SPF 1.42 by Mark Kramer. (INSTALL instructions)
RPM for RedHat/Fedora

libspf comes with patches for sendmail.

Qmail

Plugin: At least two beta-grade patches are available: the one that comes with libspf and one by Christophe Saout.

libspf comes with patches for sendmail.

qpsmtpd has an SPF plugin.

Exim

ACL: v2.09 for Exim 4.x by David Saez

Separate HOWTO by Martin Tettke: http://www.xmn-berlin.de/~marte/exim/exim4_exiscan-acl.html

Courier

Perl Module: Courier::Filter::Module::SPF by Julian Mehnle

MS Exchange

See Windows above.

Other MTAs That Support SPF


Mail::SRS

Mail::SRS helps forwarding services rewrite envelope sender addresses to remain SPF compliant. It is available on CPAN.

libsrs2 has a webpage; it is a parallel effort from libsrs.

Home Services Media Contributors Sitemap Contact Us
Copyright © 2004-2006, licensed under the GFDL.