[Dovecot] Shared folders and subscriptions

Markus Werner markiwer at googlemail.com
Sat Apr 18 00:38:37 EEST 2009


On Fri, Apr 17, 2009 at 05:22:32PM -0400, Timo Sirainen wrote:
> On Fri, 2009-04-17 at 22:48 +0200, Markus Werner wrote:
> > namespace shared {
> >     separator = /
> >     prefix = "#User/%%u/"
> >     location = maildir:%%h/Maildir:INDEX=~/Maildir/index/shared/%%u:CONTROL=~/Maildir/control/shared
> >     subscriptions = yes
> >     list = yes
> > }
> 
> The CONTROL must have also %%u in it, otherwise different shared users'
> control files get mixed together and everything breaks.

Thanks. I completely overlooked that missing part.

> Preferably you should also be using subscriptions=no so you wouldn't
> have to specify CONTROL at all, but for that you'd need to have a
> namespace with prefix="".

Would an additional namespace, for subscriptions only, work? I would
like to keep all subfolders of an Mailbox under INBOX/ .

> Anyway, this fixes subscriptions=yes:
> http://hg.dovecot.org/dovecot-1.2/rev/0dcb7e34a216

Works, thanks.


More information about the dovecot mailing list