[opendmarc-dev] draft: patch to implement an override mechanism for MLMs

A. Schulze sca at andreasschulze.de
Sun May 22 03:06:15 PDT 2016



Am 20.05.2016 um 10:41 schrieb Juri Haberland:
> Hello,
>
> attached you will find a patch that implements a mechanism to override mails
> from MLMs in case a message would be rejected. It is a draft patch as it
> misses documentation and might need some more tweeking, but first tests here
> are promising.

Juri,

thanks for the contriution. The patched version of opendmarc is running here
for some days without issues.

Some notes:

- opendmarc crash if OverrideMLM is not set in opendmarc.conf

- The patch is similar to ignorehosts but report the overwritten dmarc result
   (good)

- Messages that don't pass dmarc but came from a host listed in OverrideMLM
   trigger sending an failure report. Shouldn't that don't happen anymore?

- I suggest some logging
   result = fail, overwritten by OverrideMLM: pass

- maybe the implemented enhancement could be adopted for
   forwarded, sampled_out, trusted_forwarder, local_policy, other

idea: implement a lookup table with key=remotehost and value=override_class

Andreas


More information about the opendmarc-dev mailing list