On 6/20/20 4:11 AM, Johannes Rohr wrote:
> 
> lately my mailman instance has applied the DMARC workarounds an
> increasing number of mails. Looking into /var/log/mailman/error, I see a
> large number of messages containing the string "DNSException: Unable to
> query DMARC policy for [address]: connection timed out".


If you don't currently have a caching name server running on the Mailman
host, install one.

In any case, note the following in Defaults.py

> # Parameters for DMARC DNS lookups. If you are seeing 'DNSException:
> # Unable to query DMARC policy ...' entries in your error log, you may need
> # to adjust these.
> # The time to wait for a response from a name server before timeout.
> DMARC_RESOLVER_TIMEOUT = seconds(3)
> # The total time to spend trying to get an answer to the question.
> DMARC_RESOLVER_LIFETIME = seconds(5)

You can increase these by setting them in mm_cfg.py. On mail.python.org,
they are set as

DMARC_RESOLVER_TIMEOUT = seconds(8)
DMARC_RESOLVER_LIFETIME = seconds(10)

for Mailman 2.1.


-- 
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