[Mailman-Users] dividing list mbox

liste yoneticisi listeyon at metu.edu.tr
Wed Feb 27 08:24:33 CET 2008

On Tue, 26 Feb 2008, Mark Sapiro wrote:

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.

Thank you, you're right, that option divides

/path/to/archives/private/listname/<TIME RELATED DIRECTORY>

part. We configured as monthly, and using monarch.

We are trying to use htdig in order to archive search, but for a long time
(about months) we are unable to use it,

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