6.0.0-beta1
7/20/25

[#6984] pb showing folders named INBOX.*
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

History
06/30/2008 04:02:03 PM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Resolved
 
06/30/2008 04:00:58 PM rsalmon (at) mbpgroup (dot) com Comment #4 Reply to this comment
I've just updated from CVS and it is working fine in IMP/DIMP.

Thanks.
06/30/2008 11:26:21 AM rsalmon (at) mbpgroup (dot) com Comment #3 Reply to this comment
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.
I can't tell you what program did create that folder. I just know that 
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.




06/27/2008 05:23:11 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
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.
06/27/2008 08:24:40 AM rsalmon (at) mbpgroup (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ pb showing folders named INBOX.*
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
following Bug: 6951



I 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


Saved Queries