On Thu, 2011-09-15 at 16:23 +0100, Tom Clark wrote:
I have managed to sort this out myself. Initially I was missing the ending "." from the prefix.
It usually complains if that's missing, but looks like shared namespaces were a special case. Fixed: http://hg.dovecot.org/dovecot-2.0/rev/ea657df52a85
I also noted that %%d wasn't returning the domain correctly (mailbox instead of mailbox.com). I changed to using %d which worked fine (as I'm not sharing folders outside the domain).
I'm not sure if this is a bug and whether it would have been fixed in a later version of Dovecot.
Where were you using %%d? It's not in any config you posted here. But anyway "." is problematic, because you're also using it as hierarchy separator. I think you're going to run into trouble unless you change the separator.