doveadm-sync stateful

Cédric ML cedric.bassaget.ml at gmail.com
Tue Mar 21 08:57:21 EET 2017


Hello Timo,
"old server" is running dovecot 1.0.15, so I guess it it will not 
support imapc_features=modseq...
Maybe it would be useful to add these prerequisites to dovecot wiki.

Regards,
Cédric

Le 20/03/2017 à 15:45, Timo Sirainen a écrit :
> On 20 Mar 2017, at 13.24, Cédric ML <cedric.bassaget.ml at 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 at olddomain.fr sync -s "" -R -1 -u user1 at 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.
>



More information about the dovecot mailing list