mailbox listed twice

Ken Murchison murch at andrew.cmu.edu
Thu Nov 3 18:54:22 EST 2005


Patrick Radtke wrote:
> 
> On Nov 3, 2005, at 1:57 PM, Ken Murchison wrote:
> 
>>
>>
>>> For some of our users I see the following when listing their mailboxes.
>>>
>>> user.des2004.Professors and Faculty (\HasNoChildren)
>>> user.des2004.Professors and Faculty (\Noselect \HasChildren)
>>>
>>> The mailbox is listed twice. Sometimes clients (Apple Mail) get confused
>>> by this (sometime you can store messages in the folder, and other times
>>> you can't)
>>>
>>> Mailbox is only listed once in the mailboxes.db
>>>
>>> Anyone know why this happens?
>>>
>>
>> Can you capture the actual LIST/LSUB command?
> 
> 
> Same deal with mailbox listed twice
> 
>  > imtest -t "" -a cyrus -u des2004 localhost
> 
> Authenticated.
> Security strength factor: 256
> c list "" "P%"
> * LIST (\HasNoChildren) "." "Professors and Faculty"
> * LIST (\HasNoChildren) "." "Professors and Faculty Fall 03"
> * LIST (\Noselect \HasChildren) "." "Professors and Faculty"
> c OK Completed (0.000 secs 4 calls)
> c list "" "P%.%"
> * LIST (\HasNoChildren) "." "Professors and Faculty.Professors and 
> Faculty Spring 04"
> c OK Completed (0.000 secs 2 calls)

This is a problem with ' ' sorting before '.'.  There is a known problem 
in that Cyrus uses the ASCII sort order to compare mailbox names, but 
wants the hierarchysep character to sort first, which it doesn't in 
ASCII.  This is something that I need to fix.

The sort-term solution is to tell your users to not use spaces in 
mailbox names.

-- 
Kenneth Murchison
Systems Programmer
Carnegie Mellon University



More information about the Info-cyrus mailing list