Interesting, my interpretation of the spec is that
only the "inbox" part is case-insensitive.
The other parts of the mailbox name are still case-sensitive.

So all these strings refer to the same mailbox:

inbox/test
Inbox/test
iNbOx/test
INBOX/test

While these are two different mailboxes:

inbox/Test
inbox/test

I believe this is how the Courier IMAP server is implemented.

Tom


Thomas D. Esh
Alcatel-Lucent
Room 4O05-1L
6100 East Broad Street
Columbus, OH  43213
Email: [EMAIL PROTECTED]
Work: 614-367-4390
Mobile: 740-334-2319
Home: 740-321-1245
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Michael Cashwell
> Sent: Friday, April 18, 2008 9:10 AM
> To: IMAP-UW
> Subject: Re: [Imap-uw] Childless mix INBOX lacking \HasNoChildren?
> 
> On Apr 18, 2008, at 8:20 AM, Joel Reicher wrote:
> 
> >> It's indeterminate because any case string matches INBOX, but when 
> >> children are involved an exact case is required.  INBOX 
> matches inbox 
> >> and INBOX and Inbox and iNbOx and iNBOX.
> >>
> >> This is why you should never create children of INBOX.  It is an 
> >> undefined concept.
> >>
> >>> How is it shadowed?...
> >>> * LIST () "/" inbox
> >>> * LIST () "/" INBOX
> >>> 1 OK LIST completed
> >>
> >> The shadowing occurs if you attempt to access "inbox".  You will 
> >> actually access "INBOX".
> 
> I must be being dense here, but isn't having an inferior to 
> INBOX named identically but with only case differences a very 
> special case?  
> Wouldn't it make more sense to prohibit only that similar to 
> how a case-preserving but case-insensitive file system won't 
> let you create "foo" where "Foo" already exists?
> 
> Having inferiors to INBOX called anything else would not be 
> ambiguous, right? To prohibit ALL inferiors on INBOX just to 
> avoid this one instance of case-ambiguity seems like overkill.
> 
> But I'm likely not understanding something basic.
> 
> -Mike
> 
> _______________________________________________
> Imap-uw mailing list
> Imap-uw@u.washington.edu
> https://mailman1.u.washington.edu/mailman/listinfo/imap-uw
> 
_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to