[Mimedefang] Process SPF checking for certain recipient domains

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Thu Jul 24 02:10:51 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 23 Jul 2014, Jon Rowlan wrote:

> I have been looking though k/b articles but can find no real help on
> whether its possible to SPF check certain recipient domains?
>
> I would like certain domains that we accept mail for to use SPF but not
> on others.

In filter_begin() you know sender and all recipients, there you can deploy 
the different checks.

However, what will do if one recipient checks and another one does not and 
the message is to reject? You either need to silentliy discard the message 
for some recipients or generate bounce messages.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBU9Cja1GgR0+MU/4GAQL//Qf/Z3nwV51WIdbIypEM8T1LFNqf1QRbdceA
x3eM6Ixo7GHuLzXGMr1s0dwVQltYV6ilRQLIwtRSCKOwlVWa9KhUFJ1CiGrXERaX
Cq/PqdN1L0kQGwtSaQqMamtRb9pb915nOOua3RoIcwJiUSIKCBd4IPTsxDIrZjaA
J8jcXilT3dJ4DBX6UO9WAyRhdu8uHKEa6ilGFSQCva9zyTHAUw2f3yBnnKByINq6
vmerElFjyx7MLo/KZ6iVTQFVddDAs9j7xrk1uRV1OTU6e7FsGneUQ4D0Yl+RZbGU
GNgv0PUxuXDrs5pvoCx4Th1Qx8TS9lxEV8AzzNhOtVrX0dN4zuJHMQ==
=2BJH
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list