18 Jan
2011
18 Jan
'11
7:50 p.m.
On Tue, 18 Jan 2011 11:53:17 +0200, Timo Sirainen <tss@iki.fi> 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 do?
/var/log/dovecot.log { weekly rotate 4 create 600 root root size 64k compress notifempty postrotate [ -f /var/run/dovecot/master.pid ] && kill -USR1 $(cat /var/run/dovecot/master.pid) endscript }
M.