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]

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.

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 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

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 weekly

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

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 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

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 weekly

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