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

Mark Sapiro mark at msapiro.net
Thu May 20 20:19:29 CEST 2010

 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

  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.

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