[Dovecot] integration of old mails into new dovecot Maildir
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Tue Apr 15 07:46:57 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 14 Apr 2014, K. C. Mohan - Personal wrote:
> 1) how are the messages storred on the old server, which storage
> backend do you use, maybe Maildir?
>
> Yes, Maildir. Dovecot version is 2.1.7.
>
> 2) the storage backend on the new server?
>
> Maildir. Dovecot Version 2.2.9. Mysql virtual users
> authentication. Plain login
As both are Maildir from Dovecot, you can copy all the Maildir hierarchie
1:1 to the new server. Dovecot upgrades them automatically most of the
time. I did so from Dovecot v1.x to v2.2 with almost no problem.
To keep the UIDs for POP3, ensure the same:
pop3_uidl_format = %08Xu%08Xv
is used on the new server.
If you already got new messages on the new server, you can think about:
a) migration, e.g. as Jiri pointed out
b) merge both Maildirs, but remove all "new" control files dovecot*, keep
only the old ones. That way the new messages will be added to the old
store by getting new UIDs.
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU0zj8XD1/YhP6VMHAQKaXAgAqAXaBTDNvDWh3Yl56UrA5InEJ+E5UfiX
l9qwWTDrjneGxN6CHNmA8+VRACcZDa9Ha2oEnbfjE4ZosHK29cGzr846bwGKHv0T
Jmo2BMs/yz0psSXXf4p/46rXckQaK5HAvJTozdoRHK84OGjbTfjI2QCE/xdnrWXb
vH/wsFw5W7/hi+sSAXsFBmGkzm4Opig3V+aSQFSswlKgzUAB2H3nHlz18XObNPTK
GGjB2YV6OM0x8F87E/wgapxv4jHd48kArvDWabv9FygDQziVSggKFeQnrjgGuVZM
wlL7m1YgC1x0fGXPnYpO0gg5o0wD9X6nCStmeKKigmGwhRTvAgWc/w==
=QKGI
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list