Convert from mbox to Maildir

Marc Stürmer mail at marc-stuermer.de
Sat Oct 14 16:56:17 EEST 2017


Zitat von Josef Wolf <jw at raven.inka.de>:

> Any thougths?

Deliver IMHO should be run directly by the MTA, if possible, because  
being run by procmail you loose the capability of using SIEVE.

The dovecot way to convert mailbox formats is the dsync (doveadm sync)  
command, which is the Swiss army knife for this kind of purpose.

And if you are in need of converting a bunch of inboxes, one after  
another, keep in mind that we got the mail_location = auto: command,  
where dovecot decides on runtime by the name of the underlyding  
subfolder about the mail format to be used.

So for example, dovecot can distinguish between ~/Maildir, ~/Mail,  
~/mdbox and others. This gives you the tools at hand to migrate  
literally tens of thousands of mailboxes, while your services are  
running normally, one after another.


More information about the dovecot mailing list