[Dovecot] rotate logs ?

Frank Bonnet f.bonnet at esiee.fr
Tue Jan 18 12:53:41 EET 2011


On 01/18/2011 11:42 AM, Timo Sirainen wrote:
> 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.
>
OK, thank you Timo




More information about the dovecot mailing list