Summary | pb showing folders named INBOX.* |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | rsalmon (at) mbpgroup (dot) com |
Created | 06/27/2008 (6232 days ago) |
Due | |
Updated | 06/30/2008 (6229 days ago) |
Assigned | 06/27/2008 (6232 days ago) |
Resolved | 06/30/2008 (6229 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Thanks.
mailbox names. I don't care if other mail programs can handle it or
not either.
a few users here have it.
I don't know if the folder name is valid, but I know that the IMAP
server and other apps like thunderbir/outlook do handle it. Here is
the output of the IMAP server :
a003 list "Folders" "*"
a003 OK LIST completed
a003 list "Folders" "*"
a003 OK LIST completed
a005 list "Inbox" "*"
...
* LIST (\HasNoChildren) "." "INBOX.INBOX.Ronan"
* LIST (\HasNoChildren) "." "INBOX.INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Notes"
...
I reported the bug because I thought that there was one, and event
this type of naming doesn't usually happen, it can happen.
State ⇒ Feedback
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.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ pb showing folders named INBOX.*
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Bug: 6951I have a folder called ".INBOX.Sent". It appears like this in IMP :
- INBOX
+-- Sent
- INBOX
...
the second INBOX is not clickable.
The expected tree is :
- INBOX
+-- INBOX
+-- Sent