Creating messages and mbox folders from plain text

Nick Morrott knowledgejunkie at
Mon Feb 13 10:19:42 PST 2012


I have a bunch of old emails from med school stored as records in
simple plain text files (edited ancient Eudora dumps, IIRC), with all
but the most essential headers stripped out:

---------- cut ----------
From: <email address>
Date: Wed, 15 Nov 1995 17:12:43 +0000
Subject: blah
Received: dd/mm/yy
Body: <multiple lines, hard line breaks
-- End --
---------- cut ----------

What I would like to do (I'm at the outset of thinking about how to do
this) is parse them and create mbox files/folders which can then be
opened directly in Icedove/Thunderbird as regular emails.

What modules/distributions do those of you who have done (or do) this
sort of thing use to accomplish this? Mark Overmeer's Mail::Box
distribution [1] looks like a good place to start, unless there are
better modules that you might recommend instead. Bonus points for
pointers to scripts!

Looking forward to catching up at the next social,



More information about the MiltonKeynes-pm mailing list