Importing an mbox into Imap

Patrick O'Callaghan pocallaghan at gmail.com
Tue May 25 15:16:59 UTC 2010


On Tue, 2010-05-25 at 10:10 +0930, Tim wrote:
> On Mon, 2010-05-24 at 14:38 -0430, Patrick O'Callaghan wrote:
> > Just import the mbox file into any IMAP client (Thunderbird,
> > Evolution, Claws, whatever ...)
> 
> I've tried this with fairly large spool files, on Evolution (painfully
> slow, and needs doing in chunks - select a month's mail, drag and drop
> it between folders), and Thunderbird (eventually fails part way through,
> even in chunks, with no clue as to how far along it got).  So I'd like
> to find a good tool for doing this, too.

I took the liberty of asking our mail admin about this, since I know
we've done it in the past. This is his answer:

        I wrote a very Cyrus-specific Perl script (which runs on
        the mailstore server) that parsed an mbox file, split it into
        individual messages, and handed them to Cyrus for storage.  And
        yes, it takes many hours (on a fast machine with fast disks) and
        some babysitting.
        
        If he's not using Cyrus, or doesn't have access to the server,
        tough luck... :-/

I'm sure he wouldn't mind sharing the script if you're interested, but
it is specific to Cyrus.

poc



More information about the users mailing list