For email extensions such as SPF, DKIM and DMARC, I think the most flexible and portable system is the milter protocol. Originally developed for Sendmail, it is now also supported by Postfix, and it allows to “plug” specific filters in the mail server without the hassle of the previous systems like SMTP proxies.
SPF milters in Debian
OpenDKIM provides a good milter for checking DKIM. OpenDMARC provides a similar milter for DMARC. But the situation is more difficult for SPF in Debian — which is a requirement for DMARC! :
- spf-milter
- It was based on the buggy libspf0 and was never updated to libspf2, and was finally removed from Debian;
- spf-milter-python
- This one seems a bit Sendmail-centric — it uses a dbm configuration file for instance — and not very documented.
Packaging a new SPF milter?
There are other milters for SPF, which have not been packaged for Debian yet, but I am ready to package one. Has anybody tried another SPF milter?
- spfmilter
- Still in beta test, still to be ported to libspf2 which may never happen since it was not updated since 2005.
- smf-spf
- Based on libspf2, seems rather neat, with a clean configuration, but inactive since 2007.
- milter-spiff
- Proprietary.
4 comments
friday 07 june 2013 à 19:17 ScottK said : #1
wednesday 12 june 2013 à 15:36 Markus said : #2
friday 04 october 2013 à 03:44 Scott P said : #3
monday 16 february 2015 à 07:00 Andrew said : #4