[Dovecot] move mail from server with v1.0 to server w. v2.1?
Reindl Harald
h.reindl at thelounge.net
Fri Feb 1 19:22:12 EET 2013
Am 01.02.2013 18:19, schrieb Frank Lienhard:
> 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
needed on both servers is simply not true
i have even a template in my admin-backend to generate imapsync scripts out of a db
imapsync --host1 [source] --user1 [user1] --password1 [pwd1] --authmech1 LOGIN --host2 [target] --user2 [user2]
--password2 [pwd2] --authmech2 LOGIN --skipsize
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130201/e04d67c8/attachment.bin>
More information about the dovecot
mailing list