include eml files in archive
Hello,
Due to my error, I lost several month of mailing list archives.
One of my subscribers sent me the hole lost files in eml format (individual mails). Is there a way to add this to the mailman archives? (at least as html pages, I could insert manually)?
thanks jdd
jdanield wrote:
Is there a way to add this to the mailman archives? (at least as html pages, I could insert manually)?
Did you also lose the archives/private/LISTNAME.mbox/LISTNAME.mbox file, or did you perhaps lose archives by having turned off archiving?
If your archives/private/LISTNAME.mbox/LISTNAME.mbox file is complete, you could just rebuild the archive with Mailman's "bin/arch --wipe LISTNAME".
Otherwise, you could concatenate the .eml files, adding "From " separators to make an mbox format file and process that with "bin/arch LISTNAME /path/to/mbox/file" to add the messages to the archive.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 05/10/2012 17:30, Mark Sapiro a écrit :
jdanield wrote:
Is there a way to add this to the mailman archives? (at least as html pages, I could insert manually)?
Did you also lose the archives/private/LISTNAME.mbox/LISTNAME.mbox file, or did you perhaps lose archives by having turned off archiving?
yes in fact I lost the server and had to reinstall from old backup :-(
Otherwise, you could concatenate the .eml files, adding "From " separators to make an mbox format file and process that with "bin/arch LISTNAME /path/to/mbox/file" to add the messages to the archive.
I will try this, thanks jdd
participants (3)
-
jdanield
-
jdd
-
Mark Sapiro