diff options
author | Jim Popovitch <jimpop@gmail.com> | 2013-11-08 00:56:42 +0000 |
---|---|---|
committer | Jim Popovitch <jimpop@gmail.com> | 2013-11-08 00:56:42 +0000 |
commit | bc05ad4e81bd2ce9ec0f36e5112eadf607a49195 (patch) | |
tree | 9979051513f5f7116de90dc9a1686543d1c8e87c /Mailman/Utils.py | |
parent | 80f14d7924d0a1b90873ecdc8388a10d31e440b3 (diff) | |
download | mailman2-bc05ad4e81bd2ce9ec0f36e5112eadf607a49195.tar.gz mailman2-bc05ad4e81bd2ce9ec0f36e5112eadf607a49195.tar.xz mailman2-bc05ad4e81bd2ce9ec0f36e5112eadf607a49195.zip |
Added suuport for p=quarantine based on feedback from Franck Martin.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |