I have a mbox-User with some crazy foldernames: -rw------- 1 vmail vmail 19238931 17. Dez 2011 Foo & Co -rw------- 1 vmail vmail 82415 19. Nov 22:06 Foo &- Co Dovecot can't handle that correctly: # dovecot mailbox list -u user Foo & Co Foo & Co dsyncing those folders produces some errors: dsync(awad): Error: Mailboxes don't have unique GUIDs: 228d0731cb186750e9150000a69b85fa is shared by Foo & Co and Foo & Co 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 26.2.2013, at 12.08, Peer Heinlein <p.heinlein at heinlein-support.de> wrote:> I have a mbox-User with some crazy foldernames: > > -rw------- 1 vmail vmail 19238931 17. Dez 2011 Foo & Co > -rw------- 1 vmail vmail 82415 19. Nov 22:06 Foo &- Co > > Dovecot can't handle that correctly: > > # dovecot mailbox list -u user > Foo & Co > Foo & Co > > dsyncing those folders produces some errors: > > dsync(awad): Error: Mailboxes don't have unique GUIDs: > 228d0731cb186750e9150000a69b85fa is shared by Foo & Co and Foo & CoI remember looking at that earlier and deciding that it's not really fixable without adding a lot of code complexity. Create a script to fix the mailbox names before running dsync. (doveadm mailbox mutf7 is helpful for checking validity).