[Mailman-Users] archive rotation
Jon Carnes
jonc at nc.rr.com
Wed Mar 10 17:36:35 CET 2004
On Wed, 2004-03-10 at 10:55, Al Black wrote:
> >
> >I use logrotate at my sites to rotate my logs monthly. It's simple to
> >setup and it's already running on most systems. I generally keep 4
> >months worth of back logs.
>
> Thanks, actually, I'm using savelogs, and keeping a couple of months worth
> of data. So far so good.
>
> In any case I'm curious about something. You use: mailmanctl reopen. In
> the script that I wrote, I stop mailman, run rotation scheme, and then
> start and reopen mailmanctl, because I was concerned about clobbering some
> ongoing process.
>
> Was this an unnecessary concern?
>
> al
Your method should work fine. Stopping and starting Mailman shouldn't
hurt anything. I just use "reopen" because it was specifically added to
Mailmanctl to handle this situation:
reopen - This will close all log files, causing them
to be re-opened the next time a message is
written to them
Jon
More information about the Mailman-Users
mailing list