[Mailman-Users] Is there tool convert archived files/directories into a mbox file?
xie.47 at osu.edu
Fri May 10 18:18:36 CEST 2013
>>> If ARCHIVE_TO_MBOX is set to 0 in mm_cfg.py, Mailman will not create/update LISTNAME.mbox/LISTNAME.mbox files.
In the file mm_cfg.py, there is no ARCHIVE_TO_MBOX setting. There are ONLY following two parameters related to archive.
ARCHIVE_HTML_SANITIZER = 1
DEFAULT_ARCHIVE = Off
In the file Defaults.py, I see ARCHIVE_TO_MBOX = 2. Also, archiving for other mailing lists work well including creating/updating LISTNAME.mbox/LISTNAME.mbox file.
The archiving for this list 'kinejapan' does not work well. Last June we migrated this list from ListProc to mailman. And Archiving Options were enabled and it is supposed archiving has been working since last June. But two weeks ago we just found archiving did not really work.
1) under /usr/local/mailman/archives/private/kinejapan, there was no new archived files/directories;
2) there was no file kinejapan.mbox/kinejapan.mbox
>>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
This works for us.
From: Mark Sapiro [mailto:mark at msapiro.net]
Sent: Friday, May 10, 2013 11:37 AM
To: Xie, Wei
Cc: mailman-users at python.org
Subject: Re: Is there tool convert archived files/directories into a mbox file?
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
> 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