Shared mailboxes doc

Dan White dwhite at olp.net
Thu Dec 16 13:54:29 EST 2010


On 16/12/10 13:23 -0500, Julien Vehent wrote:
>On 12/16/2010 01:04 PM, Andrew Morgan wrote:
>> You appear to be logged in as a cyrus admin user. In that case, the
>> NAMESPACEs listed above are correct. "Other Users" are in the "user."
>> hierarchy, and "Shared Folders" are at the root level, in Cyrus'
>> internal namespace.
>>
>
>I'm logged in with my personal user.
>Here is the sequence with altnamespace:yes
>
>---
>* OK webmail Cyrus IMAP4 v2.2.13-Debian-2.2.13-19 server ready
>. login julien XXXXXXX
>. OK User logged in
>. namespace
>* NAMESPACE (("" ".")) (("Other Users." ".")) (("Shared Folders." "."))
>. OK Completed
>. list "" "*"
>* LIST (\Noinferiors) "." "INBOX"
>* LIST (\HasNoChildren) "." "Sent"
>* LIST (\HasChildren) "." "Trash"
>* LIST (\HasNoChildren) "." "drafts"
>* LIST (\HasNoChildren) "." "root"
>* LIST (\HasNoChildren) "." "sent-mail"
>* LIST (\HasNoChildren) "." "Shared Folders.shared.testshared"
>. OK Completed (0.000 secs 9 calls)
>
>---
>
>And now the sequence with altnamespace: no
>
>---
>* OK webmail Cyrus IMAP4 v2.2.13-Debian-2.2.13-19 server ready
>. login julien XXXXXXXXXX
>. OK User logged in
>. namespace
>* NAMESPACE (("INBOX." ".")) (("user." ".")) (("" "."))
>. OK Completed
>. list "" "*"
>* LIST (\HasChildren) "." "INBOX"
>* LIST (\HasNoChildren) "." "INBOX.Sent"
>* LIST (\HasChildren) "." "INBOX.Trash"
>* LIST (\HasNoChildren) "." "INBOX.drafts"
>* LIST (\HasNoChildren) "." "INBOX.root"
>* LIST (\HasNoChildren) "." "INBOX.sent-mail"
>* LIST (\HasNoChildren) "." "shared.testshared"

See RFC 2342 for the specification on what the NAMESPACE response means.

In this case, it appears you created a mailbox named 'shared.testshared',
which falls under the shared name space in Cyrus, and in which case the
'shared.' part of the mailbox name is redundant, and may be confusing the
issue. A mailbox named 'testshared' would also fall under the shared
namespace.

That mailbox would correctly be returned as 'shared.testshared' with
altnamespace turned off, and 'Shared Folders.shared.testshared' with it
turned on and 'sharedprefix' configured with 'Shared Folders', which is the
default.

Both cases are correct and a compliant IMAP client should handle both. In
neither case should the mailbox be searched for under the personal name
space, which roundcube appears to be doing.

-- 
Dan White


More information about the Info-cyrus mailing list