On 20 Mar 2017, at 13.24, Cédric ML <cedric.bassaget.ml@gmail.com> wrote:
Hello,
I'm trying to migrate mail accounts from an old server to a new one. As I need to migrate dozens of accounts which take about 1G each, I need to do stateful sync to make my migration in two times :
1 - I run a : doveadm -D -o mail_fsync=never -o imapc_user=user1@olddomain.fr sync -s "" -R -1 -u user1@newdomain.fr imapc: > /tmp/firstsync.log 2>&1
my accounts are synced, and I get a "state" string (AQAAAHm4+Jk=) as the output of doveadm sync command.
Stateful synchronization requires at least imapc_features=modseq. That requires that the remote server supports CONDSTORE IMAP extension. And I'm still not entirely sure if that's enough. In general stateful replication isn't really supported with imapc.