From bc05ad4e81bd2ce9ec0f36e5112eadf607a49195 Mon Sep 17 00:00:00 2001 From: Jim Popovitch Date: Fri, 8 Nov 2013 00:56:42 +0000 Subject: Added suuport for p=quarantine based on feedback from Franck Martin. --- Mailman/Utils.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Mailman/Utils.py') diff --git a/Mailman/Utils.py b/Mailman/Utils.py index ec9174c7..37ae940b 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -1132,6 +1132,11 @@ def IsDmarcProhibited(email): email, dmarc_domain, name, entry) return True + if re.search(r'\bp=quarantine\b', entry, re.IGNORECASE): + syslog('info', 'DMARC lookup for %s (%s) found p=quarantine in %s = %s', + email, dmarc_domain, name, entry) + return True + return False -- cgit v1.2.3