Re: Rotating mail.log daily: a problem

2004-05-24 Thread Stephane Bortzmeyer
On Fri, May 21, 2004 at 02:48:32PM +0100, Brett Parker <[EMAIL PROTECTED]> wrote a message of 55 lines which said: > So, in summary, change: > for LOG in `syslogd-listfiles` > to: > for LOG in `syslogd-listfiles -s "mail.*"` > in /etc/cron.daily/sysklogd It worked. Many thanks.

Re: Rotating mail.log daily: a problem

2004-05-24 Thread Stephane Bortzmeyer
On Fri, May 21, 2004 at 02:48:32PM +0100, Brett Parker <[EMAIL PROTECTED]> wrote a message of 55 lines which said: > So, in summary, change: > for LOG in `syslogd-listfiles` > to: > for LOG in `syslogd-listfiles -s "mail.*"` > in /etc/cron.daily/sysklogd It worked. Many thanks.

Re: Rotating mail.log daily: a problem

2004-05-21 Thread Stephane Bortzmeyer
On Fri, May 21, 2004 at 09:59:59AM -0400, Dominique Fortier <[EMAIL PROTECTED]> wrote a message of 52 lines which said: > rotate 52<- that does'nt seem right Why? logrotate(1) rotate count Log files are rotated count times before being removed or mailed

Re: Rotating mail.log daily: a problem

2004-05-21 Thread Brett Parker
On Fri, May 21, 2004 at 03:20:02PM +0200, Stephane Bortzmeyer wrote: > I try to rotate the mail logs of a big mail server more often than the > default (weekly). > > I added this to /etc/logrotate.d : > > # http://lists.debian.org/debian-devel/2003/09/msg01310.html > # sysklogd rotates file and "

Re: Rotating mail.log daily: a problem

2004-05-21 Thread Dominique Fortier
Stephane Bortzmeyer a écrit : I try to rotate the mail logs of a big mail server more often than the default (weekly). I added this to /etc/logrotate.d : # http://lists.debian.org/debian-devel/2003/09/msg01310.html # sysklogd rotates file and "weekly" is hardwired in it. We add this file # to over

Rotating mail.log daily: a problem

2004-05-21 Thread Stephane Bortzmeyer
I try to rotate the mail logs of a big mail server more often than the default (weekly). I added this to /etc/logrotate.d : # http://lists.debian.org/debian-devel/2003/09/msg01310.html # sysklogd rotates file and "weekly" is hardwired in it. We add this file # to override it. /var/log/mail.log

Re: Rotating mail.log daily: a problem

2004-05-21 Thread Stephane Bortzmeyer
On Fri, May 21, 2004 at 09:59:59AM -0400, Dominique Fortier <[EMAIL PROTECTED]> wrote a message of 52 lines which said: > rotate 52<- that does'nt seem right Why? logrotate(1) rotate count Log files are rotated count times before being removed or mailed

Re: Rotating mail.log daily: a problem

2004-05-21 Thread Brett Parker
On Fri, May 21, 2004 at 03:20:02PM +0200, Stephane Bortzmeyer wrote: > I try to rotate the mail logs of a big mail server more often than the > default (weekly). > > I added this to /etc/logrotate.d : > > # http://lists.debian.org/debian-devel/2003/09/msg01310.html > # sysklogd rotates file and "

Re: Rotating mail.log daily: a problem

2004-05-21 Thread Dominique Fortier
Stephane Bortzmeyer a écrit : I try to rotate the mail logs of a big mail server more often than the default (weekly). I added this to /etc/logrotate.d : # http://lists.debian.org/debian-devel/2003/09/msg01310.html # sysklogd rotates file and "weekly" is hardwired in it. We add this file # to over

Rotating mail.log daily: a problem

2004-05-21 Thread Stephane Bortzmeyer
I try to rotate the mail logs of a big mail server more often than the default (weekly). I added this to /etc/logrotate.d : # http://lists.debian.org/debian-devel/2003/09/msg01310.html # sysklogd rotates file and "weekly" is hardwired in it. We add this file # to override it. /var/log/mail.log