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
>
>#!/bin/bash
>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
>fi
>
>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
>directory.
>
>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
>>it.


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 <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to