On Thu, Dec 16, 2010 at 10:44:56AM -0800, Andrew Morgan wrote:
> On Thu, 16 Dec 2010, 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." "."))
> > ---
> >
> > 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." ".")) (("" "."))
> > ---
> 
> Unfortunately, I can only test with "altnamespace: yes" here.  Here is 
> what I see (Cyrus 2.3.16):
> 
> Logged in as myself (not an admin):
> * NAMESPACE (("" ".")) (("Other Users." ".")) (("Shared Folders." "."))
> 
> Logged in as "cyrus" (an admin):
> * NAMESPACE NIL (("user." ".")) (("" "."))
> 
> 
> "cyrus" does not have a mailbox, so NIL makes sense.
> 
> Perhaps it does depend on altnamespace, but the namespace you showed sure 
> looked like an admin user with a mailbox.

That's because you're used to altnamespace.  Admin users always get the
internal namespace.  Altnamespace turned off also generates something
that is almost, but not entirely, the internal namespace.

It's all pretty ugly in there - I've been working on Bug #3361.  I want to
clean up all the namespace magic so it only applies at the edges and the
stuff passed to internal functions becomes consistent.  It s a big job
though, and I'm in the middle of some other pretty big tasks at the moment.
It certainly won't make a 2.4 stable.

Bron.
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Reply via email to