[Dovecot] Cyrus MailDir to Dovecot mbox

Timo Sirainen tss at iki.fi
Tue Oct 7 18:22:01 EEST 2008


On Oct 7, 2008, at 6:04 PM, CJ Keist wrote:

> Anyone out there know of a tool that can convert a Cyrus MailDir  
> format
> to Dovecot mbox?  I have a user that I need to move over from a mail
> server running cyrus using MailDir format.  At first I told him to  
> setup
> second account with Thunderbird to our mail server and then use
> Thunderbird to move the messages over.  But he has over 100K  
> messages so
> not as easy to do.
>   Is there a tool out there for doing this sort of conversion?  I  
> tried
> to simply cat all the messages into a single file, but just got a "Not
> valid mbox format" when I tried to read the mail folder.

You could use either cyrus2dovecot or cyrus2courier tools to convert  
to Maildir format (http://wiki.dovecot.org/Migration/Cyrus). From  
there use some maildir to mbox conversion tool (e.g. Dovecot's convert- 
tool).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081007/d4180bce/attachment.bin 


More information about the dovecot mailing list