2014-06-03 09:43, Christian Laußat wrote:
I'm trying to improve my rules for DMARC policy checking. For now I
only use the Authentication-Results header from the OpenDMARC milter
as described here:
https://kvm.laussat.info/2014/05/19/using-dmarc-in-spamassassin/
To get ride of this dependency, I looked at
Mail::SpamAssassin::Plugin::AskDNS.
It seems it would be easy to write a DMARC policy check with these
rules, e.g.:
[...]
My problem now is how to get the _SENDERDOMAIN_ tag for the AskDNS
check?
If the message is DKIM signed I could use _DKIMDOMAIN_, but what if
it's not signed but has a DMARC policy on the domain?
Any ideas how to do this without writing a plugin?
Done, added SENDERDOMAIN and AUTHORDOMAIN tags:
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7099
Mark