Re: logrotate /var/log/maillog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux