mailbox listed twice

Jan Schneider janmailing at gmx.de
Thu Jul 27 06:44:11 EDT 2006


Does anybody know if the issue below has been fixed with 2.2.13?

Ken Murchison wrote:
> Brenden Conte wrote:
>> This looks like the problem arises if there is a child mailbox that
>> starts out exactly the same as the parent, and only the next character
>> in the child string after the end of the parent string match is a space.
>>
>> Or, (!strncmp(parnet,child,strlen(parent) && child[strlen(parent)+1]
>> == ' ');
>>
>> Is that a correct analysis?
> 
> 
> I'd have to think about it some more.  There also is a problem with
> other legal mailbox chars which sort before '.' (e.g. '-')
>>
>> --On Thursday, November 03, 2005 06:54:22 PM -0500 Ken Murchison
>> <murch at andrew.cmu.edu> wrote:
>>
>>> 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.




More information about the Info-cyrus mailing list