State for dsync not working.

Simon Pierre Desrosiers simonpie at cs.mcgill.ca
Fri Mar 25 23:26:11 UTC 2016


Hello,  

Since replication does not seem to work on Mac OSX, I will run doveadm sync by hand every few minutes.  

In order to improve efficiency, I would like to use state.  I have tried a few ways, but I always get the following error 
doveadm(user): Error: Saved sync state is invalid, falling back to full sync: Invalid base64 data
KBtMOd0181bQ/wAAoQsxE90181YBAAAAAQAAAAAAAAAAAAAAAAAAABtI+mg=


Here is the code I use to sync :
for user in $userlist ; do
        doveadm  sync -u $user  -s "/Users/_dovecot/.bin/syncStates/syncstate$user" tcp:xxx.xxx.xxx.xxx > "/Users/_dovecot/.bin/syncStates/syncstate$user"
done

Any idea on how I can correct the encoding error ?

Thank you


More information about the dovecot mailing list