[Dovecot] sharing of non-INBOX namespaces? Re: imapc and imap_acl
Lutz Preßler
Lutz.Pressler at SerNet.DE
Thu Sep 15 14:41:43 EEST 2011
On Do, 15 Sep 2011, Timo Sirainen wrote:
> On Thu, 2011-09-15 at 12:46 +0200, Lutz Preßler wrote:
> > I have a more general problem now: shared mailboxes from any "non-INBOX"
> > namespace are not available to other users. That's not only with virtual or
> > imapc namespaces, but also tested with two Maildir ones:
>
> > namespace others {
> > type = shared
> > separator = .
> > prefix = INBOX.shared.%%u.
> > location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
>
> Right, because here you have configured a shared namespace for
> ~/Maildir.
Uh, oh... of course. Stupid to expect it to work as your proposal for
future extension already... but that would be the most flexible way,
please implement :-).
> If you want to access also ~/Maildir2, you'd need to create a
> second shared namespace for it.
Maybe I mess something up the second time today - but I cannot get
it to work:
namespace others {
type = shared
separator = .
prefix = INBOX.shared.%%u.
location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
subscriptions = no
list = children
}
namespace otherssecond {
type = shared
separator = .
prefix = INBOX.shared2.%%u.
location = maildir:%%h/Maildir2:INDEX=~/Maildir/shared2/%%u
subscriptions = no
list = children
}
As testuser:
0 select INBOX.shared2.user1.box
0 NO Mailbox doesn't exist: shared2.user1.box
with log:
Sep 15 13:28:51 host dovecot: imap(17320, testuser): Debug: acl vfile: file /etc/dovecot/global-acls/INBOX.shared2.user1.box not found
Sep 15 13:28:51 host dovecot: imap(17320, testuser): Debug: acl vfile: file /home/testuser/Maildir/.shared2.user1.box/dovecot-acl not found
like the otherssecond namespace beeing ignored (yes, I've restarted dovecot).
First I tried in otherssecond
prefix = INBOX.shared.%%u.second.
location = maildir:%%h/Maildir2:INDEX=~/Maildir/shared/%%u/second
- don't know if this is even supposed to work, but both variants do not.
Lutz
More information about the dovecot
mailing list