Re: Rotation of /var/log/mail.log
On Tue, Sep 23, 2003 at 11:18:27PM +0200, deblists@linuxia.de wrote:
> While /var/log/mail.log is rotated nicely on my (woody) boxes,
> I have no idea which package is responsible for that.
> Any suggestions ?
/etc/cron.weekly/sysklogd
This script rotates all the files which are output from running:
/usr/sbin/syslogd-listfiles --weekly
> That would help me to solve bug #212237.
If you make sure there is an entry for mail in /etc/syslog.conf then
these files will be output from the 'syslogd-listfiles' and rotated
correctly.
Alternatively you could drop a file in /etc/logrotate.d/ to force
the issue.
I hope that helps; and thanks for the great work with courier.
Steve
--
www.steve.org.uk
Reply to: