[Mailman-Users] dmarc_moderation_action isn't working
mark at msapiro.net
Thu May 29 16:37:44 CEST 2014
On 05/29/2014 07:15 AM, Joel Uckelman wrote:
> 1) IsDMARCProhibited() is running for me.
> 2) dns_resolver was *not* false. It looks like this rules out an
> ImportError in my case, since the only way dns_resolver can be set to
> false is in the event of an ImportError (see line 79).
> It's good to fix the bug you noted regardless, but something else is
> failing silently for me.
What do you get on the local machine from
dig txt _dmarc.yahoo.com
If that gives the expected result, what do you get from the following Python
from dns.exception import DNSException
resolver = dns.resolver.Resolver()
dmarc_domain = '_dmarc.yahoo.com'
resolver.timeout = 3.0
resolver.lifetime = 5.0
txt_recs = resolver.query(dmarc_domain, dns.rdatatype.TXT)
for x in txt_recs:
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users