[Mailman-Users] dividing list mbox

Mark Sapiro mark at msapiro.net
Tue Feb 26 17:39:12 CET 2008

Mark Sapiro wrote:

>liste yoneticisi wrote:
>>How can i divide the file "listname.mbox" in the directory
>>"listname.mbox/" by day.
>Set up a cron job to run at daily at 23:59 and do something like
>suffix=`date +%Y%m%d`
>sleep 60
>if [[ -f /path/to/archives/private/listname.mbox/listname.mbox ]]
>   then mv /path/to/archives/private/listname.mbox/listname.mbox \
>     /path/to/archives/private/listname.mbox/listname.mbox.$suffix
>Although you'd probably want to break it into subdirectories by month
>and possibly year so as not to accumulate too many files in one
>Moving the file aside is not a problem for the archiver which will just
>create a new one the next time it archives a message.

I neglected to address

>>I heard that it is possible as configuring listserver. But i couldn't find

There is no configuration option for this. Perhaps you are thinking of
the list's archive_volume_frequency which can be set to 'Daily' to
create a new archive index and pseudo mbox .txt file on a daily basis.

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