[Mailman-Users] Is there tool convert archived files/directories into a mbox file?

Mark Sapiro mark at msapiro.net
Fri May 10 17:37:23 CEST 2013


On 05/10/2013 06:35 AM, Xie, Wei wrote:
> 
> Here we have one customer to request migrating all old archived files of
> mailing list ‘kinejapan’  under directory
> /usr/local/mailman/archives/private/kinejapan prior to 2009 (as attached
> file) to Yale university. Yale university IT guys needs us to create a
> mbox file for these old archived file to be easy for them  to run
> command ‘archdo migration.
> 
>  
> 
> I check there is no file kinejapan.mbox   under directory
> /usr/local/mailman/archives/private/kinejapan.mbox to match these old
> archived files as attached. This mailing list was maintained by our
> pre-mailman admin, who passed away 2011,  so I do not know why the mbox
> file was missing.  


If ARCHIVE_TO_MBOX is set to 0 in mm_cfg.py, Mailman will not
create/update LISTNAME.mbox/LISTNAME.mbox files.


> Do you know whether there is a tool/method to convert these old archived
> files/directories as attached into a mbox file?


Lots of information is lost if there is no .mbox file.

You can do as well as anything with

cat /usr/local/mailman/archives/private/kinejapan/*.txt > kinejapan.mbox

-- 
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