[Dovecot] BestPractice to migrate imap mailbox from one machineto another

David Favor david at davidfavor.com
Sat Sep 10 21:36:06 EEST 2011


Johan Hendriks wrote:
> Tobias Hachmer schreef:
>> Hi list,
>>
>> currently I use dovecot v1.2.15 with maildir++ mailboxes. (Debian 
>> Squeeze)
>> I want to set up a different server with dovecot v2, also maildir++ 
>> mailboxes. (also Debian Squeeze)
>>
>> What is the best way to copy the existing mailboxes from the older 
>> machine running dovecot v1.2.15 to the new naked machine?
>>
>> Greetz, Tobias
> I did the same thing, with no know issues so far.
> 
> My old server was running dovecot 1.2.x and i coppied the whole maildir 
> structure to the other machine.
> Then started Dovecot 2.x and all was fine.
> 
> Should be the same as instlling 2.0 over the old 1.2.x version, then it 
> uses the old maildir also.
> 
> Well test it i would say.
> Just do the copy, and try if everything works.
> then do it for a final migration.
> 
> Gr
> Johan Hendriks

Yes.

So long as you're using same file structure, just tar + compress your
Maildir hierarchy + scp it to your new machine + untar/uncompress...

You'll be good to go.

-- 
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way!



More information about the dovecot mailing list