[Pkg-exim4-users] failed to write to main log: length=164 result=-1 errno=9 (Bad file descriptor)

Andreas Metzler ametzler at bebt.de
Sun Mar 27 17:58:51 BST 2022


On 2022-03-16 list.exim at artfulrobot.uk wrote:
> Hi,
> 
> I've been using exim4 on debian for years but after a recent upgrade to
> Debian 11 (bullseye) I'm encountering some strange errors.
> 
> Background/context:
> 
> * I have a CRM system running on the same box as exim. The CRM connects over
> SMTP on localhost:25.
> 
> * The CRM submits a message, it is accepted AND DELIVERED by exim, BUT it
> seems exim crashes out at the end, which leads the CRM to think it didn't
> work (so it keep sending - aargh!).
> 
> Research / error /debugging/logs
> 
> The /var/log/exim4/paniclog shows:
> 
> 2022-03-16 15:35:05 1nUVg0-00117b-Vp <=
> b.1228.83322.004d859653543c1b at redacted.com H=localhost (redacted.com)
> [127.0.0.1] P=esmtp S=22207
> 2022-03-16 15:35:05 1nUVg0-00117b-Vp failed to write to main log: length=164
> result=-1 errno=9 (Bad file descriptor)
[...]
 
Hello Rich,

this looks like a log file rotation issue, do you use some custom logic
there?

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-exim4-users mailing list