[Mailman-Users] does arch read plain text emails?

Robert Khachikyan robertk at jpl.nasa.gov
Fri May 21 01:23:07 CEST 2010


Thanks Mark. It sound like I'm gonna have to write a shell to add the 
 From line for each message. They all have the "From:", "Subject:", and 
"Date:" header, but not the very first line "From user at example.com <date>".

1 question. Does the <date> have to be a real date or it can contain 
dummy data?

(guess I can test this and wipe it out if it needs to be real).

Thanks,
--Robert


On 5/20/2010 11:19 AM, Mark Sapiro wrote:
>   Robert Khachikyan wrote:
>
>    
>> I've recently installed mailman to migrate from majordomo. And in
>> majoromo I save all emails in plain text. I have about 40000 emails to
>> convert to mailman. And when I issue
>> ~mailman/bin/arch dojo /home/mails/dojo/23048
>>
>> it returns:
>>
>> Pickling archive state into
>> /var/lib/mailman/archives/private/dojo/pipermail.pck
>>
>> However, I do not see it on the web...
>>      
>
> You don't see a web archive because you haven't added any messages. the
> "Pickling archive state into ..." message is the last message from
> bin/arch. Had it done anything, that would have been preceeded by many
> other messages.
>
>
>    
>> How can I convert these emails to mailman?
>>      
>
> The messages need to be in a unix like mbox format file. This means the
> first line of each message should be a From_ separator, I.e. a line
> like
>
>    From user at example.com Wed May 19 16:33:42 2010
>
> Followed by message headers which should at least include From:,
> Subject: and Date:
>
> followed by an empty line and then the plain text message as in
>
>
>    From user at example.com Wed May 19 16:33:42 2010
>    From: Jane User<user at example.com>
>    Date: Wed, 19 May 2010 16:33:42 -0700
>    Subject: An example
>
>    Some message body text
>    and more
>    and more ...
>
>
> and then the next message in the same format and so on. If your
> messages have headers, you may only need to add the From_ lines at the
> beginning of each message or you may need to employ some other process
> to generate a mbox file from the majordomo archive.
>
>    


More information about the Mailman-Users mailing list