diff options
author | Mark Sapiro <mark@msapiro.net> | 2015-05-01 09:14:08 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2015-05-01 09:14:08 -0700 |
commit | 47c050236d3632f0dfaca75b2c96d5c880355185 (patch) | |
tree | ce7e96271f9eb20027da02eecdc53fd22d1faee9 | |
parent | 8f7fc30bde024165d742ecae082858d80f1012b8 (diff) | |
download | mailman2-47c050236d3632f0dfaca75b2c96d5c880355185.tar.gz mailman2-47c050236d3632f0dfaca75b2c96d5c880355185.tar.xz mailman2-47c050236d3632f0dfaca75b2c96d5c880355185.zip |
The vette log entry for DMARC policy hits now contains the list name.
-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 |