On 9 May 2019, at 23.47, Sven Strickroth via dovecot dovecot@dovecot.org wrote:
Hi,
I'm experiencing serious issues using doveadm sync; mails are not replicating and/or mails are duplicating. I wanted to use this for migrating external mailboxes to my server (in order to overcome the time when some servers/clients still use the old server and some already my server, as described on https://wiki2.dovecot.org/Tools/Doveadm/Sync).
Use proxy for that.
Now send two messages to remote@DOMAIN.TLD (Subjects Test3 and Test4) and two messages to local@DOMAIN.TLD (Subjects Test5 and Test6).
Run sync: $ doveadm -o imapc_user="remote@DOMAIN.TLD" -o imapc_password="PW" -o imapc_host="localhost" sync -R -u local@DOMAIN.TLD imapc:
imapc does not support two-way sync. You need to use doveadm protocol for that.
Sami