[Dovecot] Maillog rotates, but dovecot still writes logs into old logfile?
sysadmin at e-positive.ee
Thu Apr 19 20:28:52 EEST 2007
log_path = /var/log/maillog
info_log_path = /var/log/maillog
And into /var/log are:
Now when log files are rotating at 04:00 (maillog > maillog.1) dovecot
still keeps login into maillog.1 and not into maillog, where sendmail,
etc writes logs.
The only solution I did found, is adding into /etc/logrotate.d/syslog
command to restart dovecot:
/etc/rc.d/init.d/dovecot restart >/dev/null
Any other solution?
More information about the dovecot