From knowledgejunkie at gmail.com Mon Feb 13 10:19:42 2012 From: knowledgejunkie at gmail.com (Nick Morrott) Date: Mon, 13 Feb 2012 18:19:42 +0000 Subject: Creating messages and mbox folders from plain text Message-ID: Hey, 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: Date: Wed, 15 Nov 1995 17:12:43 +0000 Subject: blah Received: dd/mm/yy Body: References: Message-ID: <20120213205852.GE54270@eborcom.com> On Mon, Feb 13, 2012 at 06:19:42PM +0000, Nick Morrott wrote: > 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: Hi, Nick. I dealt with Eudora's mailbox format some time around 1998. Eudora didn't store messages in the conventional text-only mailbox format using "From " as the delimiter at the start of the file. Your example suggests this as you only have the "From:" header field not the "From " message delimeter. As Eudora mailboxes contain no inline message delimeters, Eudora also stored message offsets in a binary file which you could poke at with pack() to pull out the messages in the mailbox. Various people had documented the format of the binary files on the Web, even back then. This is all off the top of my head. My memories may have become confused over time. Wikipedia has a good explanation of the mailbox format I describe above: https://en.wikipedia.org/wiki/Berkeley_mailbox_format Also you might like to look at Tie::Eudora on CPAN, although I don't know how well it might work. Finally, congratulations on keeping better backups than I do. :) Tom From andyfrommk at gmail.com Wed Feb 15 13:44:48 2012 From: andyfrommk at gmail.com (Andy Selby) Date: Wed, 15 Feb 2012 21:44:48 +0000 Subject: Meeting:Tuesday 21st of February Message-ID: The Perl Mongers meeting is less than a week away As ever, it will be held at the Wetherspoons pub, near the railway station (not the one in the snow dome), next door to Chiquitos: http://osm.org/go/eu4qJDHoE-- Starting from 7pm, and going on till the last people stumble off home. We usually inhabit one of the two large tables infront of the curved benches in front of the bar. Feel free to bring your $perl_running_device along if you want a hand/to show off. From andyfrommk at gmail.com Tue Feb 21 08:12:19 2012 From: andyfrommk at gmail.com (Andy Selby) Date: Tue, 21 Feb 2012 16:12:19 +0000 Subject: Meeting:Tuesday 21st of February In-Reply-To: References: Message-ID: just to remind everyone, this is tonight On 15 February 2012 21:44, Andy Selby wrote: > The Perl Mongers meeting is less than a week away > > As ever, it will be held at the Wetherspoons pub, near the railway > station (not the one in the snow dome), next door to Chiquitos: > > http://osm.org/go/eu4qJDHoE-- > > Starting from 7pm, and going on till the last people stumble off home. > We usually inhabit one of the two large tables infront of the curved > benches in front of the bar. > Feel free to bring your $perl_running_device along if you want a hand/to > show off.