[Dovecot] Broken foldernames in mbox

Timo Sirainen tss at iki.fi
Tue Feb 26 12:13:15 EET 2013


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 & Co

I 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).



More information about the dovecot mailing list