[Dovecot] INBOX of a shared namespace appears to be always subscribed

Timo Sirainen tss at iki.fi
Tue Mar 16 18:58:53 EET 2010


On Tue, 2010-03-16 at 17:49 +0100, Holger Richter wrote:
> > On Fri, 2010-03-12 at 12:17 +0100, Holger Richter wrote:
> >> I've repeated the tests with LSUB "" *. I think there's a problem with 
> >> setting the namespace prefix.
> > 
> > Before I'll test further.. What do your namespace settings look like in
> > dovecot -n output?
> > 
> 
> 
> Here's the relevant extract of the output of dovecot -n:

Well, I'll try to reproduce it, but a few things could be changed
anyway:

> namespace:
>   type: shared
>   separator: /
>   prefix: shared/%%u/
>   location: maildir:/srv/mail.neu/dirs/%%u:INDEX=/srv/mail.neu/meta/%u/shared/%%u/index:CONTROL=/srv/mail.neu/meta/%u/shared/%%u/control
>   list: children

With this setup IMAP keywords (=labels/custom flags) will be messed up.
CONTROL should point to the user's directory. Then also set
subscriptions=no so subscriptions will be saved to user's primary
subscriptions file.

> namespace:
>   type: public
>   separator: /
>   prefix: Mailarchiv/
>   location: maildir:/srv/mail.neu/dirs/archive:INDEX=/srv/mail.neu/meta/%u/archive/index:CONTROL=/srv/mail.neu/meta/archive/control
>   hidden: yes
>   list: children

Similar problem here, unless you intended to force users to be
subscribed to same public mailboxes (which is what this currently does).

> namespace:
>   type: public
>   separator: /
>   prefix: public/
>   location: maildir:/srv/mail.neu/dirs/public:INDEX=/srv/mail.neu/meta/%u/public/index:CONTROL=/srv/mail.neu/meta/public/control
>   list: yes

Same as above.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100316/ba8567a8/attachment-0001.bin 


More information about the dovecot mailing list