diff options
-rw-r--r-- | Mailman/Utils.py | 8 | ||||
-rwxr-xr-x | NEWS | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index 1cd1cdb7..e7eaa389 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -1209,15 +1209,15 @@ def IsDMARCProhibited(mlist, email): for entry in dmarcs: if re.search(r'\bp=reject\b', entry, re.IGNORECASE): syslog('vette', - 'DMARC lookup for %s (%s) found p=reject in %s = %s', - email, dmarc_domain, name, entry) + '%s: DMARC lookup for %s (%s) found p=reject in %s = %s', + mlist.real_name, email, dmarc_domain, name, entry) return True if (mlist.dmarc_quarantine_moderation_action and re.search(r'\bp=quarantine\b', entry, re.IGNORECASE)): syslog('vette', - 'DMARC lookup for %s (%s) found p=quarantine in %s = %s', - email, dmarc_domain, name, entry) + '%s: DMARC lookup for %s (%s) found p=quarantine in %s = %s', + mlist.real_name, email, dmarc_domain, name, entry) return True return False @@ -9,6 +9,9 @@ Here is a history of user visible changes to Mailman. Bug fixes and other patches + - The vette log entry for DMARC policy hits now contains the list name. + (LP: #1450826) + - If SUBSCRIBE_FORM_SECRET is enabled and a user's network has a load balancer or similar in use the POSTing IP might not exactly match the GETting IP. This is now accounted for by not requiring the last |