[Mailman-Users] Importing archived msgs into a Mailman list

John Poltorak karotlopj at gmail.com
Tue Jun 14 13:51:02 EDT 2016


I think each msg starts with *Return-Path:*
so I guess I need to insert an extra line at the start of each msg...

A simple sed script should suffice to convert each msg. Do I just need to
insert '*From *'  as the first line of each msg?

On Tue, Jun 14, 2016 at 5:06 PM, Mark Sapiro <mark at msapiro.net> wrote:

> On 06/14/2016 12:36 AM, John Poltorak wrote:
> > I have managed to obtain all the msgs as individual files. I'm not  sure
> > of the mbox format, but hopefully I can create it... Isn't it just a
> > concatenation of all the individual files as a single file? There's
> > probably more to it, but hopefully it is doable without too much
> difficulty.
>
>
> A .mbox is not quite the concatenation of the individual messages. I
> have attached an excerpt of a .mbox file with two messages. The key is
> that the first line of each message is a 'From_' separator that looks like
>
> 'From email at address date'
>
> It begins literally with 'From ' and no other lines in the mbox begin
> with these 5 characters - this is why you sometimes see lines in the
> body of an email that begin 'From ' escaped by inserting '>' as in
> '>From '. For the purposes of bin/arch, the actual contents after the
> leading 'From ' are not important, but in general, there should be an
> email address representing the envelope sender of the message and a date
> in the format of the example. See, e.g.,
> <https://en.wikipedia.org/wiki/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