doveadm/dsync/imapc and foldernames including a "%"
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.
Peer
-- Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin
http://www.heinlein-support.de
Tel: 030 / 405051-42 Fax: 030 / 405051-19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
On 06 Jan 2016, at 18:52, Peer Heinlein p.heinlein@heinlein-support.de 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..
On 01/08/2016 05:49 PM, Timo Sirainen wrote:
On 06 Jan 2016, at 18:52, Peer Heinlein p.heinlein@heinlein-support.de 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/a4e2101473cfd7ce960fc49b3ce097c3f89ec... https://github.com/dovecot/core/commit/f97b503210435b74de3b26cba07315cbc9ea1... https://github.com/dovecot/core/commit/6e2bb07ff164bbac054cc53a4b4ca0d8aee90...
participants (2)
-
Peer Heinlein
-
Timo Sirainen