18 Jan
2011
18 Jan
'11
9:59 a.m.
On 01/18/2011 10:53 AM, Timo Sirainen wrote:
On 18.1.2011, at 11.41, Nick Lunt wrote:
How about putting the something similar to the following in /etc/logrotate.conf (on redhat/centos)
/var/log/dovecot.log { weekly minsize 1M create 0664 root postfix rotate 4 } 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