[Dovecot] rotate logs ?

Timo Sirainen tss at iki.fi
Tue Jan 18 12:42:52 EET 2011


On 18.1.2011, at 11.59, Frank Bonnet wrote:

>> Be sure to send a SIGUSR1 signal to dovecot process too so that it reopens the logs. (With v2.0 you can use doveadm log reopen.)
>> 
> Would this be OK in logrotate.conf ?
> 
> kill -HUP `cat /var/run/dovecot/master.pid`

It'll rotate the logs, but it'll also re-read the config. I'd use -USR1 instead.



More information about the dovecot mailing list