On 5/29/20 9:54 AM, Lars Bjørndal wrote:
> 
> I tried the code on my system as well, and get:
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>     File "/usr/lib/python3.7/site-packages/dns/resolver.py", line 1002, in 
> query
>         raise NXDOMAIN(qnames=qnames_to_try, responses=nxdomain_responses)
>       dns.resolver.NXDOMAIN: None of DNS query names exist: 
> _dmarc.blindeforbundet.no.
>       , _dmarc.blindeforbundet.no.lamasti.net.



So this is not consistent with what was logged. You reported Mailman's
error log has

DNSException: No Nameservers available for
  usern...@blindeforbundet.no (_dmarc.blindeforbundet.no)

That message is only logged if the resolver.query() raises
dns.resolver.NoNameservers.


dns.resolver.NXDOMAIN is the expected result when there are no records
at _dmarc.blindeforbundet.no and results on no mitigation.

If this is a persistent error from Mailman, and Mailman is running on
the same server you ran the above on, I can't explain it, but possibly
is was just a transient situation and the mail from this user will now
be accepted.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to