Migrate Dovecot email archive

Marco Usai ddr2pw at yahoo.com
Mon Jun 20 14:13:37 UTC 2016


Yes, infact it's working:
after thecopy I've switched mx record and server address on the email client so, the oldmailbox is not used.
Mailstorage format was the same on both servers (mbox).
I'vepreferred this approach than the use of Dsync or Imapsync tools. 

    Il Lunedì 20 Giugno 2016 9:14, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> ha scritto:
 

 -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 19 Jun 2016, Marco Usai wrote:

> Yesterday I'vemigrated Dovecot mail archive between two servers using the procedure below:
> 1) Createon the new server the same email accounts existing on the old server.
> 2) Transferthe "tarred" mail folder from the old to the new server.
> For testingpurposes, on Outlook 2007 I've deleted a .pst cache file, forcing the client todownload all emails again.
>
> The switchwas absolutely transparent without any problem. All the emails were availableand Outlook 2007 noticed no changes.
> Can Iconsider this a correct procedure or should I use some tools like Dsync ?

If you do not change the mail storage format (Maildir -> dbox, or 
something like that), do not change 32bit -> 64bit, big / little endian 
a.s.o.

and if you make sure the old mailbox is not accessed, while you copy the 
data over,

it should work :-)

In fact, I use "rsync".

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBV2eXs3z1H7kL/d9rAQKUUQf/WebZz4IiJogPyWO0vCvJVomDl12E/1cX
fDz0FW7wceJrKIYmLfIJa5S4L2r1bimdfVimiPbs3ORMbBV37TXH8lErbLZMSrEi
gjn7FI1Q6hF97Lrc1YSn9UkENp9M7bXpXsDPiuOn++KXZ+fM5QkSzKxV2F9YAoap
J/efjEo/cliOiSYWC5R4yZ8bIY45x83kxMhWctH3ZQ/dCGWdiAgGxg0l+bP0AurV
7vEJhfhJxdV2FnaQtnhHHRuOFcIVBSyvDWkx9iQZ5ZiTnE9NDsVYf5gkPy+2dkrf
XvtZ+G9HRaBGrCkqGJxWZTRzjgtnBYx6lxz+9zPgRVGpguKFR7Qnkg==
=2W8A
-----END PGP SIGNATURE-----


  


More information about the dovecot mailing list