[Dovecot] shared namespaces with common prefix prefix
Timo Sirainen
tss at iki.fi
Tue Jan 19 14:57:32 EET 2010
On Thu, 2010-01-14 at 14:22 -0500, Frank Cusack wrote:
> namespace public {
> separator = /
> prefix = zz/shared/
> }
> # to share other employees mailboxes (term'd or admin access)
> namespace shared {
> separator = /
> prefix = zz/shared/%%u/
> }
>
> Since I added the shared namespace, I can no longer access the public
> namespace. The folders show up but then trying to access one gets the
> error that the mailbox doesn't exist.
>
> If they can't have a common part of the prefix, is that an IMAP limitation
> or could dovecot conceivably handle it?
The main problem is that Dovecot internally creates zz/shared/ namespace
for listing users. Then it has two namespaces with the same prefix. It
would be possible to create support for some kind of namespace unions,
but there's no such code yet.
Also from IMAP point of view this isn't really supported, because
NAMESPACE reply would show the zz/shared/ as both shared and public
namespace. You'd have to make one of them hidden=yes.
Also with union namespaces name conflicts would be possible. For example
if you have zz/shared/user at domain/ containing the user's mailboxes, but
then someone creates a public zz/shared/user at domain mailbox there's a
conflict..
-------------- 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/20100119/d88df4ed/attachment.bin
More information about the dovecot
mailing list