On Thu, Jan 24, 2002 at 03:19:16AM -0800, Kenneth Porter wrote: > Sorry for the off-topic post, but I figured other mail gurus might know > of a utility. > > I've switched from a mail client that stores messages one per file to > one that uses standard mbox format. I'm looking for a utility that will > convert a directory full of individual message files into a single mbox > file. > > (The old client uses a hierarchy of directories to represent folders, > with each directory holding some metadata in separate files. The new > client also has metadata files, an mbox file, and a subfolder directory > containing subdirectories of other similar directories. I can cobble > something up to translate the metadata files.)
I don't know offhand of any utility for this, but pine/uw-imapd's "C-client" libraries support a pretty broad array of mail folder formats, including mbox and some directory-style formats. If pine can read the old folders, you might just be able to open them in pine and save them to mbox forrmat. Failing that, you might be able to write something that uses those libraries to copy them over - though figuring out the library interfaces may be more complex than just cobbling up your own utility to do it. -- Clifton -- Clifton Royston -- LavaNet Systems Architect -- [EMAIL PROTECTED] WWJD? "JWRTFM!" - Scott Dorsey (kludge) "JWG" - Eddie Aikau