After logrotation Dovecot still writes to old log file

Sami Ketola sami.ketola at dovecot.fi
Fri Jun 15 08:10:29 EEST 2018



> On 15 Jun 2018, at 5.17, Michael Heuberger <michael.heuberger at binarykitchen.com> wrote:
> 
> Thanks man
> 
> You suggesting the same as https://wiki2.dovecot.org/Logging <https://wiki2.dovecot.org/Logging> says?
> 
> postrotate
>  kill -s 0 `cat /var/run/dovecot/master.pid` || kill -s USR1 `cat /var/run/dovecot/master.pid`
> endscript
> Well, I already tried that and didn't work. Hence my guess that it's something else.

Does '/usr/bin/doveadm log reopen' work?

Sami

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180615/f6913d02/attachment.html>


More information about the dovecot mailing list