Bug#476958: exim4 logrotate do not restart exim

Marc Haber mh+debian-packages at zugschlus.de
Tue Apr 22 14:10:42 UTC 2008


On Tue, Apr 22, 2008 at 03:07:29PM +0200, Klaus Ethgen wrote:
> Am Di den 22. Apr 2008 um 12:16 schrieb Marc Haber:
> > This documentation is going to answer the question you asked in the
> > rest of your e-mail.
> 
> Well, partly. Ist this mechanism also implemented in the version in
> stable or only in unstable?

Exim has behaved that way as long as I can think.

> And apart from it the logrotatesettings are delaycompress and daily (the
> default). With that settings the logfile gets rotated after one day. But
> my mail server is receiving mails very frequently (Spams and also some
> non-Spams). So IF this mechanism described in the document you referred
> is in place the logfile must never be open one day after rotating the
> file.

Please give proof that the log file still is open, which exim process
has it opened, and what the exim process is doing while keeping the
log file open.

>  So, yes, this ist a bug which still exists in the stable version.

I have never seen this issue on any of my systems.

> Moreover, it is easy to fix with the lines in the logrotate config to
> restart the daemon after rotating.

This is not an acceptable fix as it disrupts exim operation and will
not help since I suspect that the log file is not kept open by the
smtp listener process. All other exim processes are "short lived".

> And a delivery time of more than 24h is not expected.

But it happens.

Greetings
Marc

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





More information about the Pkg-exim4-maintainers mailing list