[Mailman-Users] Generating list archive from a mbox file
mark at msapiro.net
Thu Jul 3 16:31:39 CEST 2008
Nitin Bhadauria wrote:
>Please don't say that there is no way to get the archive back because i
>have to get them any how, even if i need to create whole archive manually.
>But i don't want to wast that much of time. That why i am looking for an
As Brad said, with list archiving turned off, Mailman doesn't
permanently save the messages anywhere. Mailman doesn't have them,
except for a possible few that might be in
lists/<listname>/digest.mbox awaiting the next digest.
So, first you need to get the messages to be archived. If you are
really lucky, perhaps some list recipient has saved all the lost posts
in a single mailbox/mail folder already.
In any case, you need to get all the messages with as close as possible
to the original headers and mime structure, and get them in a single
*nix mbox format file.
Then, check the From separators and the possible presence of unescaped
From_ lines in message bodies with Mailman's bin/cleanarch. Then,
after you're satisfied you have a good mbox containing all the missing
messages, you can add them to the archive with
bin/arch listname /path/to/mbox
You should also stop mailman and append the mbox to
archives/private/listname.mbox/listname.mbox so if you ever need to
use that file, it will be complete.
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