I am trying to rotate the logfiles for mail/milter-greylist and mail/clamav-milter but seem to be having an issue with it. Whenever the logfile is rotated both of these services are stopped. Currently I have the following in /etc/newsyslog.conf:
What am I doing wrong? All my other logfiles rotate fine.
Code:
/var/log/milter-greylist/greylist.log postfix:postfix 644 7 * @T00 - /var/run/milter-greylist.pid
/var/log/clamav/clamav-milter.log clamav:clamav 644 7 * @T00 - /var/run/clamav/clamav-milter.pid
What am I doing wrong? All my other logfiles rotate fine.