Migrate Dovecot email archive

Tanstaafl tanstaafl at libertytrek.org
Mon Jun 20 12:22:44 UTC 2016


On 6/20/2016 3:13 AM, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:
> -----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".

Imapsync is easier. Made migration from dovecot to Office 365, then
back to dovecot painless and easy, and can be done while both systems
are live.


More information about the dovecot mailing list