[Mailman-checkins] [Branch ~mailman-coders/mailman/2.1] Rev 1488: If checking DNS for dmarc_moderation_action and DNS lookup is not
revno: 1488
fixes bug: https://launchpad.net/bugs/1324541
committer: Mark Sapiro
branch nick: 2.1
timestamp: Thu 2014-05-29 08:38:47 -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 +
+++ Mailman/Utils.py 2014-05-29 15:38:47 +
@@ -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.real_name)
+return False
email = email.lower()
at_sign = email.find('@')
=== modified file 'NEWS'
--- NEWS 2014-05-09 19:19:29 +
+++ NEWS 2014-05-29 15:38:47 +
@@ -6,6 +6,9 @@
Here is a history of user visible changes to Mailman.
2.1.19 (xx-xxx-)
+
+- 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
[Mailman-checkins] [Branch ~mailman-coders/mailman/2.1] Rev 1488: If checking DNS for dmarc_moderation_action and DNS lookup is not
revno: 1488
fixes bug: https://launchpad.net/bugs/1324541
committer: Mark Sapiro
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 +
+++ Mailman/Utils.py 2014-05-29 14:11:24 +
@@ -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 +
+++ NEWS 2014-05-29 14:11:24 +
@@ -6,6 +6,9 @@
Here is a history of user visible changes to Mailman.
2.1.19 (xx-xxx-)
+
+- 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
