aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Utils.py')
-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