On 01/08/2016 05:49 PM, Timo Sirainen wrote: > >> On 06 Jan 2016, at 18:52, Peer Heinlein <[email protected]> >> wrote: >> >> >> We're using doveadm/dsync/imapc to migrate accounts from Courier to >> Dovecot 2.2.20. >> >> On the source-server some user have folder names including a "%" in >> their name. >> >> Looks like doveadm isn't able to handle that folder names. I always >> stops with: >> >> dsync(testtest): Error: Failed to access mailbox INBOX.Test%TEST: >> Mailbox does not exist, or must be subscribed to. > > Hmm. The attached patch fixes it, but I'm not sure yet if it breaks something > else. Need to create some automated tests for imapc handling these various > special characters..
Looks like it was a more complicated change to get it working correctly for all cases. These should fix everything: https://github.com/dovecot/core/commit/a4e2101473cfd7ce960fc49b3ce097c3f89ec2ad https://github.com/dovecot/core/commit/f97b503210435b74de3b26cba07315cbc9ea1dfc https://github.com/dovecot/core/commit/6e2bb07ff164bbac054cc53a4b4ca0d8aee909d1
