[Mailman-Users] Scripts Associated with Log File Rotation

Greg Sims greg at headingup.net
Tue Feb 5 19:33:00 CET 2008

I updated the /etc/logrotate.d/mailman file as you suggested.  

Thanks!  Greg

-----Original Message-----
From: Mark Sapiro [mailto:mark at msapiro.net] 
Sent: Tuesday, February 05, 2008 9:33 AM
To: Greg Sims; mailman-users at python.org
Subject: Re: [Mailman-Users] Scripts Associated with Log File Rotation

Greg Sims wrote:
>I have a couple of question about doing what I need to without breaking
>(1)   The time stamps of the log files on my system are not all the same.
>The time stamp of /var/log/mailman/subscribe.1 and
>are not even on the same day.  This implies that rotation for these files
>happening at different times.

No it doesn't. All it says is that at the time subscribe and bounce
were renamed to subscribe.1 and bounce.1, the time stamps on those
files were different.

>I'm concerned about making one change to the
>logrotate.d file above - like adding a line to the postrotate section - as
>(2)   My first concern leads me to break subscribe and bounce into separate
>entries in the logrotate.d file.

You don't need to do this at all. Your concern is based on an erroneous

Just add your processing of the *.1 files after the mailmanctl reopen

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list