On Thu, 18 May 2006, Erik Kangas wrote:
> Hello,
>
> Goal: take an "mbx" folder and convert it to a set of files, one per
> message, in "eml" format (i.e. unix format with 1 message per file).
>
> I know this could be done several ways ... running IMAP and pulling down
> the messages and saving the source, or converting the mbx folder to unix
> and splitting it on "^From ".
>
> However, I wondered if there is another simpler way? I am interested in
> speed and IO efficiency here. I.e. lets say you have 10,000 or more
> messages in a large folder. A conversion from mbx to unix by itself takes a
> significant amount of resources.
>
> Does anyone have another idea of doing this conversion, using uw
> imap/cclient tools?
The UW c-client "mx" mailbox is a one-file-per-message format.
You could use mailutil to copy a "mbx" mailbox to a "mx" mailbox
and end up with your file-per-message. I don't know the ".eml" format
specs so I cannot tell you how close "mx" is to ".eml" but you
could try a test case and see.
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw