On 05/29/2014 03:03 AM, Joel Uckelman wrote:
>
> Do you still think that given what I found above?
Did you restart Mailman after installing the python-dns package?
Yes, I still think that. If you did restart Mailman and the package is
available, something should be logged unless the DNS lookup of DMARC
policy for the From: domain succeeds and doesn't find a p=reject (or
quarantine).
I have attached a patch to Mailman/Utils.py which is a fix for
<https://bugs.launchpad.net/mailman/+bug/1324541> which will log the
unavailability of DNS lookup.
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
--- ../../2.1/Mailman/Utils.py 2014-05-02 20:26:19.166274000 -0700
+++ Utils.py 2014-05-29 06:48:14.213492535 -0700
@@ -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('@')
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org