------------------------------------------------------------
revno: 1870
fixes bug: https://launchpad.net/bugs/1931029
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Sun 2021-06-06 10:55:49 -0700
message:
  DMARC policy ignores domains with multiple DMARC records.
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	2020-10-22 19:15:52 +0000
+++ Mailman/Utils.py	2021-06-06 17:55:49 +0000
@@ -1380,8 +1380,9 @@
             if len(dmarcs) > 1:
                 syslog('error',
                        """RRset of TXT records for %s has %d v=DMARC1 entries;
-                       testing them all""",
+                       ignoring them per RFC 7849""",
                         dmarc_domain, len(dmarcs))
+                return False
             for entry in dmarcs:
                 mo = re.search(r'\bsp=(\w*)\b', entry, re.IGNORECASE)
                 if org and mo:

=== modified file 'NEWS'
--- NEWS	2021-04-08 04:34:54 +0000
+++ NEWS	2021-06-06 17:55:49 +0000
@@ -22,6 +22,9 @@
     - Delivery disabled by bounce notices to admins now have 'disabled'
       properly translated.  (LP: #1922843)
 
+    - DMARC policy discovery ignores domains with multiple DMARC records per
+      RFC 7849,  (LP: 1931029)
+
 2.1.34 (26-Jun-2020)
 
   i18n

_______________________________________________
Mailman-checkins mailing list -- mailman-checkins@python.org
To unsubscribe send an email to mailman-checkins-le...@python.org
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: arch...@jab.org

Reply via email to