On 01/08/2016 01:34 PM, Peer Heinlein wrote:
As I already wrote some days ago we're actually running a huge migration using doveadm/dsync-backup/imapc:
doveadm -o imapc_user="$UNAME1" -o imapc_password="$PWORD1" -o imapc_host=$SERVER1 -o pop3c_user="$UNAME1" -o pop3c_password="$PWORD1" -o pop3c_host=$SERVER1 -D -v backup -R -u "$UNAME2" imapc:
We just noticed that doveadm looses changes in folder subscriptions if a folder is copied again.
a) Copy a mdbox-home of a user (using doveadm backup...)
b) Change his subscriptions on the source-side OR change his subscripts on the destination-side OR delete his subscriptions-file.
c) Copy that mdbox-home from that user again (using doveadm backup...)
doveadm will copy & merge his mails, but he does NOT check for changes in folder subscriptions. As you can see in the attached logs, doveadm nitices changes in subscriptions:
This should fix it: https://github.com/dovecot/core/commit/9d7f23fa2334e037c09d8cf90cc80b3c89ece...