Bug#962847: exim4: takes forever to send a mail after sleeping

Marc Haber mh+debian-packages at zugschlus.de
Mon Jun 15 17:01:55 BST 2020


On Mon, Jun 15, 2020 at 01:56:18PM +0200, RĂ©mi Letot wrote:
> My mail client and exim are both running on my laptop, and the provided
> logs are from that same laptop.
> 
> The fault is the delay between exim accepting the message, and actually
> delivering it to the smarthost. During that delay, my mail client is
> stuck too.

That is highly implausible. In a normal setup, the SMTP client is out of
the game as soon exim has locally queued the message. Can you run
tcpdump on lo to find out what's happening? I guess that you're putting
the laptop to sleep before the (local) TCP session has been properly
closed, making it subject to the exponential backoff algorithm and
eventually a session timeout. There is not much exim can do in this
situation.

Maybe it helps to force exim to actually queue messsages from lo instead
of trying immediate delivery?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



More information about the Pkg-exim4-maintainers mailing list