<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>pb showing folders named INBOX.*</title>
  <pubDate>Thu, 20 Nov 2008 04:02:39 -0500</pubDate>
  <link>http://bugs.horde.org/ticket/6984</link>
  <atom:link rel="self" type="application/rss+xml" title="pb showing folders named INBOX.*" href="http://bugs.horde.org/ticket/6984/rss" />
  <description>pb showing folders named INBOX.*</description>

  
  
  <item>
   <title>following Bug: 6951

I have a folder called &quot;.INBOX.Sent&quot;.</title>
   <description>following Bug: 6951

I have a folder called &quot;.INBOX.Sent&quot;. It appears like this in IMP :
- INBOX
      +-- Sent
- INBOX
...

the second INBOX is not clickable.
The expected tree is :
- INBOX
+-- INBOX
      +-- Sent
</description>
   <pubDate>Fri, 27 Jun 2008 04:24:40 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6984#t46922</link>
  </item>
  <item>
   <title>&gt; I have a folder called &quot;.INBOX.Sent&quot;

How is that a lega</title>
   <description>&gt; I have a folder called &quot;.INBOX.Sent&quot;

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         = &quot;INBOX&quot; / 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 (&quot;&quot; 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.</description>
   <pubDate>Fri, 27 Jun 2008 13:23:11 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6984#t46948</link>
  </item>
  <item>
   <title>&gt; Your mailbox is invalid.  I don't see a need to workaround</title>
   <description>&gt; Your mailbox is invalid.  I don't see a need to workaround invalid 
&gt; mailbox names.  I don't care if other mail programs can handle it or 
&gt; 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 &quot;Folders&quot; &quot;*&quot;
a003 OK LIST completed
a003 list &quot;Folders&quot; &quot;*&quot;
a003 OK LIST completed
a005 list &quot;Inbox&quot; &quot;*&quot;
...
* LIST (\HasNoChildren) &quot;.&quot; &quot;INBOX.INBOX.Ronan&quot;
* LIST (\HasNoChildren) &quot;.&quot; &quot;INBOX.INBOX.Sent&quot;
* LIST (\HasNoChildren) &quot;.&quot; &quot;INBOX.Sent&quot;
* LIST (\HasNoChildren) &quot;.&quot; &quot;INBOX.Notes&quot;
...

I reported the bug because I thought that there was one, and event this type of naming doesn't usually happen, it can happen. 

</description>
   <pubDate>Mon, 30 Jun 2008 07:26:21 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6984#t46982</link>
  </item>
  <item>
   <title>I've just updated from CVS and it is working fine in IMP/DIM</title>
   <description>I've just updated from CVS and it is working fine in IMP/DIMP.
Thanks.</description>
   <pubDate>Mon, 30 Jun 2008 12:00:58 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6984#t47005</link>
  </item>
  

 </channel>
</rss>
