[Pymilter] [PATCH] spfmilter.py - Don't check SPF on authenticated senders

Stuart D Gathman stuart at bmsi.com
Wed Dec 5 17:21:36 EST 2012


On Dec 4, David Caldwell transmitted in part:

>  I'm trying to use spfmilter.py to check SPF on a Sendmail server that
> sends and receives mail. spfmilter.py is checking SPF on users that are
> trying to send mail (whether posted to the submission port or the smtp
> port). If the user has logged in with a user and password then they are
> trusted and I don't think SPF should be checked.
>
>  The following patch implements this. It has only been tested with Sendmail
> but is working for me.

You'll find that milter-0.8.17 has that, and also a way to configure
cross user forgery prevention.  Each SMTP AUTH user name can be restricted in
what domains it is allowed to use.



More information about the Pymilter mailing list