Back to the original discussion. It appears that cyrus's altnamespace option shouldn't be used for this (it's considered an ugly fix).
It also seems that this bug is purely roundcube related...
Does anybody else use cyrus imap, roundcube and shared mailboxes ?
Below is the quote of my last email on the cyrus mailing list:
============================================================= On 12/16/2010 01:54 PM, Dan White wrote:
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.
I just tried to create a mailbox without the 'shared.' prefix, as follow:
# cyradm --user cyrus localhost Password: localhost> cm shrdmailbx localhost> sam shrdmailbx anyone p localhost> sam shrdmailbx julien lr localhost> sam shrdmailbx michel lrswipcd localhost> quit
I set altnamespace:no and restarted cyrus. The result is the same as before. I can subscribe and access the mailbox from thunderbird, but I can't from roundcube.
When i set altnamespace: yes and restart cyrus, I can access the mailbox 'resgate' from roundcube.
I will forward that information to the roundcube's mailing list and work with them to solve the issue.
Thanks for your help
List info: http://lists.roundcube.net/users/ BT/9b404e9e