[lug] maildir to database format?

David Kritzberg david.kritzberg at colorado.edu
Sun May 4 14:49:55 MDT 2008


* Sean Reifschneider <jafo at tummy.com> [2008-05-01 09:30:33 -0600]:

> David Kritzberg wrote:
> > I am trying to take the contents of an old mail list and turn it into
> > some data format that I can analyze.  The list is in maildir format.
>
> Maildir is just one file per message, so processing it is very easy.  Look
> at the man page for "formail" for an example way to extract headers from
> such a file.  formail is part of the procmail package, IIRC.
>
> As far as threading, I believe JWZ has a threading algorithm that's got
> some popularity.  I seem to recall seeing an implementation of it in
> Python, and Python can also easily read and process one message per file
> using the email library.
>
> I don't know of anything existing that will do exactly what you want,
> you'll probably have to get your hands dirty and build something, but the
> above tools might help.

Thanks for the suggestions, and I'll see what I can do.

>
> Sean
> -- 
> Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
> tummy.com, ltd. - Linux Consulting since 1995: Ask me about High 
> Availability
____________________________
Dave Kritzberg
http://dijon.colorado.edu/
Dave.Kritzberg at gmail.com



More information about the LUG mailing list