[Mailman-Users] Cleaning up Mailman log files

Mark Sapiro msapiro at value.net
Fri Sep 7 18:40:28 CEST 2007

runner at winning.com wrote:

>Does Mailman need to be stopped before cleaning up the log files or can I just "cat /dev/null > error" 

It is best to do

bin/mailmanctl reopen

following any logfile changes done while Mailman is running.

Why not use logrotate?  A typical config excerpt for logrotate is
something like

list of paths to mailman's logs {
        /path/to/bin/mailmanctl reopen >/dev/null 2>&1 || true

Mark Sapiro <msapiro at value.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