Re: Rotating mail.log

2004-12-23 Thread Antony Gelberg
Sam Watkins wrote: On Mon, Dec 20, 2004 at 02:42:36PM +, Antony Gelberg wrote: My server just ran out of space due to mail.log and mail.info getting massive. I have run syslogd-listfiles --weekly, and both files are listed in the output. Any ideas on how I can debug this? (Please CC me, I

rotating mail.log

2004-12-07 Thread Antony Gelberg
Hi all, My server just ran out of space due to mail.log and mail.info getting massive. I have run syslogd-listfiles --weekly, and both files are listed in the output. Any ideas on how I can debug this? (Please CC me, I'm not subscribed.) Antony -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] w

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