[ale] Extracting dovecot email
Michael Trausch
mike at trausch.us
Tue Nov 16 16:29:24 EST 2010
That is the Maildir format. Cur is the "seen messages" (not seen by the
user, but seen by the user's MUA. The new directory holds the one the MUA
hasn't seen yet. The messages may have multiple hardlinks for example if
they have been moved or deleted and not yet expunged.
For the most part, you can just treat the directory tree as a message
database. One complete message is stored in one file, and the name of the
file contains the IMAP flags applicable to it. It should be possible to
read them in one file at a time and write them back out as an mbox format
file. You need to create the mbox "from" line at the start of each message,
and add > characters to the word "from" that begins the line of a message if
one isn't already there... but I do not believe that they need any
additional transformation.
--
Sent from my G2 running CyanogenMod!
That is, a phone. :)
On Nov 16, 2010 4:14 PM, "Lightner, Jeff" <jlightner at water.com> wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20101116/2bf868dd/attachment.html
More information about the Ale
mailing list