[Dovecot] Migrating mail from mbox to maildir using dovecot

William Blunn bill at blunn.org
Tue Sep 14 19:09:16 EEST 2010


On 14/09/2010 16:51, Donny Brooks wrote:
> I think I will have to stay with the 1.x branch since we have to stick to using approved rpm's (internal policy) and fedora 13 does not have a 2.x branch that I see yet.

I agree sticking to the standard binary packages where possible is 
generally a good idea. But having a carefully chosen handful of packages 
built from source, where it offers a significant benefit, could be 
overall better than sticking slavishly to an overly-simplistic rule.

If your organisation is only 160 people there can not be that many 
people (2 or 3?) involved in making that policy. You should be able to 
get them all in a meeting and sort it out.

Rules are not usually written in stone. Rules may not be /wrong/ per se, 
rather they may benefit from some /refinement/.

> So maildir it is for now.
>
> I see my error on the inbox not getting the new mail. That was one of those "all nighter" errors that I just plain missed due to lack of sleep. I forgot to point postfix to the proper place to deliver the mail.
>
> So once I setup postfix to deliver the mail properly and the dovecot convert plugin is setup, is there a way to gradually migrate the users so I don't kill the server? We have about 220GB or so of mail between about 160+/- users. What would be the best way to migrate it all to maildir?
>    

Have mail location configured on a per-user basis via the userdb.

You can then pull individual users mail over to Maildir and update their 
mail location configurations.

Bill




More information about the dovecot mailing list