[CentOS] logrotate /var/log/maillog

Stephen Harris lists at spuddy.org
Fri Sep 21 11:13:08 UTC 2007

On Fri, Sep 21, 2007 at 01:06:06PM +0200, Thomas Antony wrote:
> After /var/log/maillog has rotated, postfix doesn't log anything to the 
> new log file till i restart syslog. It doesn't matter if i reload or 
> restart postfix.

You don't need to restart syslog, merely send it a SIGHUP

> Is this a normal behaviour with this log file and if yes why?


Postfix doesn't write to the file directly, it sends its messages to
syslog which writes according to the mail.* entries in syslog.conf

Check the existing syslog logrotate entry.



More information about the CentOS mailing list