slow startup

Derek Martin invalid at pizzashack.org
Thu Dec 20 20:47:51 UTC 2018


On Thu, Dec 20, 2018 at 10:05:30AM -0800, Kevin J. McCarthy wrote:
> On Thu, Dec 20, 2018 at 06:14:31PM +0900, Kenichi Asai wrote:
> >My guess is that mutt automatically checks some machine or network
> >configuration and wait 5 seconds for time out before starting.  Does
> >mutt do such things?  How can I learn about them?
> 
> In 1.6.0, mutt was changed to determine the fully-qualified hostname
> at startup using gethostname() and getaddrinfo().  The delay could
> be if DNS isn't configured correctly.
> 
> On Linux, a workaround is to add an entry to /etc/hosts:
>  127.0.1.1   myhost.mydomain  myhost
> 
> I'm not sure how the equivalent is done on MacOS.

You can also just set the hostname config variable in your muttrc, and
then it should skip the DNS lookup.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20181220/019fff2b/attachment.asc>


More information about the Mutt-users mailing list