Re: [exim] Exim4 delay at boot

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
A: exim-users
Assumpte: Re: [exim] Exim4 delay at boot
JHM via Exim-users <exim-users@???> (Fr 12 Nov 2021 22:14:12 CET):
> [code]
> disable_ipv6 = true
> [/code]


Shooting into the dark as well. If IPv6 is enabled, Exim tries to
resolve names as A and as AAAA records. Independend on your system's IPV6
setup.

The gethostinfo(3) depends on your system's setup and doesn't even
attempt AAAA lookups if there is no chance to use the information, but
in parts of the code Exim doesn't rely on the gethostinfo(3) call, but
talks directly to the resolver (found in /etc/resolv.conf).

So, if you resolver behaves strange (imposing a 30s delay by e.g. not
responding to AAAA queries), the root cause of delay is outside of Exim,
while disable_ipv6 = true is a good mitigation.

--
Heiko