------------------------------------------------------------
revno: 1488
fixes bug: https://launchpad.net/bugs/1324541
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Thu 2014-05-29 07:11:24 -0700
message:
If checking DNS for dmarc_moderation_action and DNS lookup is not
available, log it. (LP: #1324541)
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 2014-05-03 03:26:03 +0000
+++ Mailman/Utils.py 2014-05-29 14:11:24 +0000
@@ -1070,7 +1070,11 @@
# or possibly quarantine.
def IsDMARCProhibited(mlist, email):
if not dns_resolver:
- return False
+ # This is a problem; log it.
+ syslog('error',
+ 'DNS lookup for dmarc_moderation_action for list %s not available',
+ mlist)
+ return False
email = email.lower()
at_sign = email.find('@')
=== modified file 'NEWS'
--- NEWS 2014-05-09 19:19:29 +0000
+++ NEWS 2014-05-29 14:11:24 +0000
@@ -6,6 +6,9 @@
Here is a history of user visible changes to Mailman.
2.1.19 (xx-xxx-xxxx)
+
+ - If checking DNS for dmarc_moderation_action and DNS lookup is not
+ available, log it. (LP: #1324541)
Bug fixes and other patches
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org