aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
authorJim Popovitch <jimpop@gmail.com>2013-11-08 00:56:42 +0000
committerJim Popovitch <jimpop@gmail.com>2013-11-08 00:56:42 +0000
commitbc05ad4e81bd2ce9ec0f36e5112eadf607a49195 (patch)
tree9979051513f5f7116de90dc9a1686543d1c8e87c /Mailman/Utils.py
parent80f14d7924d0a1b90873ecdc8388a10d31e440b3 (diff)
downloadmailman2-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.py5
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