Mail migration / dsync
Hello,
I am trying to migrate emails from: Mountain Lion OSX 10.8.5 (dovecot: 2.0.19apple1) to: RHEL 7.0 (dovecot: 2.2.10) Using command: dsync -m /Library/Server/Mail/Data/mail/XYZWXYZW-XYZW-XYZW-XYW-XYZXYZXYZXYZ/ -u giedriust mirror giedriust@192.168.xx.xx root@192.168.xx.xx's password: dsync-remote(giedriust@domainname.com): Error: dsync(local): Remote dsync doesn't use compatible protocol dsync-remote(giedriust@domainname.com): Error: dsync(local): Remote dsync doesn't use compatible protocol dsync-local(giedriust): Error: Invalid server handshake: VERSION dsync 3 2
Is there a way to synchronise all the emails and convert them from simple Maildir to Maildir (layout=fs) format?
-- * Giedrius Tuminauskas*
I'm not an expert, but I just gave a similar answer to someone else in a similar situation (significantly older dovecot version on old server) and I suggest trying to use doveadm backup on the new server to pull the mail from the old server via IMAP like:
doveadm -o imapc_features=fetch-headers -o mail_prefetch_count=20 -o imapc_port=993 -o imapc_ssl=imaps -o imapc_ssl_verify=no -o mail_fsync=never -o imapc_host=mail.example.com -o imapc_user=mailuser@exmple.com -o imapc_password=123456 backup -R imapc:
participants (2)
-
Casey Stone
-
Giedrius Tuminauskas