[Tickets #6984] Re: pb showing folders named INBOX.*
bugs at horde.org
bugs at horde.org
Fri Jun 27 17:23:12 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/6984
------------------------------------------------------------------------------
Ticket | 6984
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | pb showing folders named INBOX.*
Queue | IMP
Version | HEAD
Type | Bug
-State | Unconfirmed
+State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2008-06-27 13:23) wrote:
> I have a folder called ".INBOX.Sent"
How is that a legal mailbox name? In that mailbox, your base
namespace would necessarily have to be '' (blank). As such, that
mailbox is correctly identified as 'INBOX.Sent', NOT '.INBOX.Sent'.
You simply *can't* have an empty mailbox name. See RFC 3501 [7.2.2]:
The hierarchy delimiter is a character used to delimit levels of
hierarchy in a mailbox name.
By definition, a mailbox name is *1* or more characters. See RFC 3501 [9]:
mailbox = "INBOX" / astring
astring = 1*ASTRING-CHAR / string
ASTRING-CHAR = ATOM-CHAR / resp-specials
Additionally, this mailbox requires that its parent is the mailbox ''.
However, that mailbox name is reserved by list as a method to
determine what the hierarchy delimiter is for a given reference (RFC
3501 [6.3.8]):
An empty ("" string) mailbox name argument is a special request to
return the hierarchy delimiter and the root name of the name given
in the reference.
Your mailbox is invalid. I don't see a need to workaround invalid
mailbox names. I don't care if other mail programs can handle it or
not either.
More information about the bugs
mailing list