[Dovecot] conversion to maildir

Timo Sirainen tss at iki.fi
Tue Aug 26 22:18:36 EEST 2003


On Tue, 2003-08-26 at 20:16, Eric S. Johansson wrote:
> is really a royal pain in the butt.  most of the conversion tools only do a 
> partial job.  mb2md seems to be the best but it does not convert the from line 
> correctly unless you are using exim for an MTA.  It also does not get the file 
> status right so everything is written to the new maildir directory.  something 
> else that makes the process painful is when you have folders containing 
> mailboxes.  And the process is *slow* when you have 2 GB of mail (yes, I will be 
> deleting some soon).

Next Dovecot version will support both mboxes and maildir. That could do
it at least one mailbox at a time.

> to relate this to dovecot: this is probably not the job of the imap server but 
> it would be real nice to be able to fit in some sort of a plug-in that could 
> automatically do the conversion on a mailbox as it is opened.

Yes, that should be possible.

> it would make migrations trivial easy.  give me the ability to use python for 
> plug-ins and I will write such a tool.

We'd need a Python plugin :) I don't think it was difficult to export C
stuff from .h files to Python using some tool .. which I can't remember
anymore.




More information about the dovecot mailing list