#3667: Stuck trying to send an email: all DNS lookups fail when network was
brought up after mutt
---------------------+---------------------
Reporter: Floris | Owner: brendan
Type: defect | Status: new
Priority: major | Milestone:
Component: IMAP | Version: 1.5.22
Resolution: | Keywords:
---------------------+---------------------
Comment (by saraedum):
Indeed, a call to `res_init()` resolves the issue for me. However, I can
not include `resolv.h` since it defines `HEADER` which is already defined
by `mutt.h`. I am attaching a proof-of-concept (this patch is horrible, I
am not proposing to use it as is.)
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3667#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent