process-mail.py failed to resolve dns. Raised NXDOMAIN
Bug #878140 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Martin Pool |
Bug Description
OOPS-2116INBOUNDEMAIL2 shows a NXDOMAIN error raised by the code that autheticates dkim
Traceback (most recent call last):
Module lp.services.
signed_
Module dkim, line 560, in verify
s = dnstxt(
Module dkim, line 271, in dnstxt
a = dns.resolver.
Module dns.resolver, line 723, in query
return get_default_
Module dns.resolver, line 667, in query
raise NXDOMAIN
NXDOMAIN
Related branches
lp:~mbp/launchpad/878140-dkim-nxdomain
- Robert Collins (community): Approve
-
Diff: 16 lines (+6/-0)1 file modifiedlib/lp/services/mail/incoming.py (+6/-0)
Changed in launchpad: | |
assignee: | nobody → Martin Pool (mbp) |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Interesting bug: basically the mail is claiming to be signed by a
domain that does not exist, or at least transiently couldn't be found.
We already catch some of these errors but apparently not this one.
We ought to just catch the error, log it, and treat it as untrusted.
tags easy
Martin