[Dovecot] Migrating from dovecot 2.1 to 2.2

Daniel Parthey d.parthey at metaways.de
Sat Sep 21 03:28:06 EEST 2013

Am 20.09.2013 18:40, schrieb megodin at inboxalias.com:
> Hey there micah,
> assuming you have your Dovecot set up using virtual users, I would advise you to use imapsync for that. It does incremental and recursive IMAP transfers from one mailbox to another (on different servers too). As it doesn't make a file copy, but let the two dovecot servers talk directly to each other via IMAP, all your mails with all flags, dates etc. will be preserved on the destination system exactly like on your source system.
> In your case also the indexes will be written on the fast system automatically by Dovecot 2.2.5 (if configured to do so), so this might do exactly what you are looking for.
> I have myself successfully transferred over 35000 accounts with imapsync (with very few problems, almost all of them because of corrupt mailboxes or special character encoding problems occured through former use of weird obsolete mail clients) and can highly recommend it.
> Best regards and good luck,
> Megodin

Yes, I can confirm imapsync works fine:

It doesn't replicate the dovecot IMAP UIDs / POP3 UIDLs though,
since via IMAP-only it can't force the target IMAP server to
use specific UUIDs.

Dovecot's own tool dsync can preserve UUIDs and is therefore
the better choice when migrating to dovecot:


Dipl.-Inf. Daniel Parthey
System Engineer
Metaways Infosystems GmbH
Pickhuben 2, D-20457 Hamburg

E-Mail: d.parthey at metaways.de
Web:    http://www.metaways.de
Tel:    +49 (0)40 317031-537
Fax:    +49 (0)40 317031-937

Metaways Infosystems GmbH - Sitz: D-22967 Tremsbüttel
Handelsregister: Amtsgericht Lübeck HRB 4508 AH
Geschäftsführung: Hermann Thaele, Lüder-H.Thaele

More information about the dovecot mailing list