https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7099

--- Comment #3 from Mark Martinec <[email protected]> ---
So (as an example) here is a crude attempt at DMARC,
based on posting by Christian Laußat, 2014-06-03,
subject: DMARC policy check with AskDNS posible?


ifplugin Mail::SpamAssassin::Plugin::AskDNS
askdns  __DMARC_POLICY_NONE _dmarc._AUTHORDOMAIN_ TXT /^v=DMARC1;.*\bp=none;/
askdns  __DMARC_POLICY_QUAR _dmarc._AUTHORDOMAIN_ TXT
/^v=DMARC1;.*\bp=quarantine;/
askdns  __DMARC_POLICY_REJECT _dmarc._AUTHORDOMAIN_ TXT
/^v=DMARC1;.*\bp=reject;/
meta    DMARC_REJECT !(DKIM_VALID_AU || SPF_PASS) && __DMARC_POLICY_REJECT
score   DMARC_REJECT 1.2
meta    DMARC_QUAR   !(DKIM_VALID_AU || SPF_PASS) && __DMARC_POLICY_QUAR
score   DMARC_QUAR   0.8
meta    DMARC_NONE   !(DKIM_VALID_AU || SPF_PASS) && __DMARC_POLICY_NONE
score   DMARC_NONE   0.1
endif


I'm saying "crude" because it does not handle "Domain Owner" vs.
"Author Domain", and "strict" vs. "relaxed" alignment.

  http://www.ietf.org/id/draft-kucherawy-dmarc-base-05.txt

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to