[Dovecot] move mail from server with v1.0 to server w. v2.1?

Frank Lienhard frank at mclien.de
Fri Feb 1 19:19:09 EET 2013


Reindl Harald wrote:
> Am 01.02.2013 17:22, schrieb Frank Lienhard:
>   
>> I'm about to replace my old server. Both servers are on my internal network.
>> The old one ist running debian lenny(32bit) with dovecot 1.0.15 and the new one debian Wheezy with dovecot 2.1.7.
>> I set up the users on both systems identically (same gid uid).
>> My first attempt was tho simply rsync the Maildirs along with the homes. Both deovecot versions are set up with the
>> maildir format, but this results in ~30% doublicated mails on the new server.
>> I then learned about doveadm/dsync, only to figure out that this isn't available in v 1.0.15 and therefor won't work.
>> So which could be the most painless way to solve that?
>>     
>
> imapsync is version agnostic and if you have a database
> with the user-logins it should be easy to geenrate a shellscript
>
> i did migration of around 200000 messages and some hundret users
> from Apple OSX EIMS to dbmail/dovecot in 2009 this way
>
>   
sadly, this is not availble from the debian repos.
I searched a bit around:
syncmaildir, imapsync: only available in in Lenny OR Wheezy, but needed 
on both servers
isync, mailsync: mentioned to hold two maildirs in sync with a more or 
less difficult to configure setup
which  leaves me one option (from programms I found);
offlineimap: mentioned to backup mails from a remote/ISP mailserver in a 
local directory of a user.
Wonder if that works , when the local dir is one of an imap server.......




More information about the dovecot mailing list