------------------------------------------------------------
revno: 1561
fixes bug: https://launchpad.net/bugs/1450826
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Fri 2015-05-01 09:14:08 -0700
message:
  The vette log entry for DMARC policy hits now contains the list name.
modified:
  Mailman/Utils.py
  NEWS


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Utils.py'
--- Mailman/Utils.py	2015-03-27 21:12:16 +0000
+++ Mailman/Utils.py	2015-05-01 16:14:08 +0000
@@ -1209,15 +1209,15 @@
             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

=== modified file 'NEWS'
--- NEWS	2015-04-24 00:42:33 +0000
+++ NEWS	2015-05-01 16:14:08 +0000
@@ -9,6 +9,9 @@
 
   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

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to