Stephen Harris schrieb:
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?
Yes.
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.
Thank you!
Thomas