<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>deleteMailbox doesn&#039;t work</title> 
  <pubDate>Fri, 10 Apr 2026 13:09:13 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9895</link> 
  <atom:link rel="self" type="application/rss+xml" title="deleteMailbox doesn&#039;t work" href="https://bugs.horde.org/ticket/9895/rss" /> 
  <description>deleteMailbox doesn&#039;t work</description> 
 
   
   
  <item> 
   <title>When trying to delete a user from Administration -&gt; Users in</title> 
   <description>When trying to delete a user from Administration -&gt; Users interface using CyrSQL or IMAP drivers I get &quot;IMAP error: Mailbox does not exist&quot;. Just a guess, but this is probably becouse of in the past IMAP libraries used PHP imap_deletemailbox function, but now it uses direct socket connection and mailbox need to be specified with namespace? Like user.mailbox.</description> 
   <pubDate>Wed, 13 Apr 2011 14:18:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63632</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9895: F</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9895: Fix deleteMailbox for Cyrsql and Imap auth drivers

 2 files changed, 9 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/7488ec8ac68e21317e92fde638f340fc1f9233b1</description> 
   <pubDate>Wed, 13 Apr 2011 20:52:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63683</link> 
  </item> 
   
  <item> 
   <title>Cyrsql was definitely broken because $mailbox was never defi</title> 
   <description>Cyrsql was definitely broken because $mailbox was never defined.  But IMAP looked like it should work.

Can you try this patch and report back?</description> 
   <pubDate>Wed, 13 Apr 2011 20:53:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63684</link> 
  </item> 
   
  <item> 
   <title>Sorry for not mentioning it, but I saw that $mailbox was nev</title> 
   <description>Sorry for not mentioning it, but I saw that $mailbox was never defined and did exactly what your patch does. Still there is a problem with userhierarchy parameter which is never defined in my case.

Also I tried removing that parameter from $mailbox = line to no avail.

My users are under name space &quot;user.&quot; I will try to harcode that into deleteMailbox arguments later today.</description> 
   <pubDate>Thu, 14 Apr 2011 04:51:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63702</link> 
  </item> 
   
  <item> 
   <title>&gt; My users are under name space &quot;user.&quot; I will try to harcod</title> 
   <description>&gt; My users are under name space &quot;user.&quot; I will try to harcode that into 
&gt; deleteMailbox arguments later today.

I can confirm that adding &quot;user.&quot; in front of the $mailbox works and mailbox gets deleted.
</description> 
   <pubDate>Thu, 14 Apr 2011 06:34:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63708</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; My users are under name space &quot;user.&quot; I will try to harco</title> 
   <description>&gt;&gt; My users are under name space &quot;user.&quot; I will try to harcode that into
&gt;&gt; deleteMailbox arguments later today.
&gt;
&gt; I can confirm that adding &quot;user.&quot; in front of the $mailbox works and 
&gt; mailbox gets deleted.

Except that cyrsql expects the userhierarchy to be &#039;user/&#039;, not &#039;user.&#039;.  I have no idea which is correct, but it was this way in H3 also.  Jan - can you provide input here?
</description> 
   <pubDate>Thu, 14 Apr 2011 19:07:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63758</link> 
  </item> 
   
  <item> 
   <title>The IMAP auth driver defaults to &#039;user.&#039;  So this should be </title> 
   <description>The IMAP auth driver defaults to &#039;user.&#039;  So this should be fine there - I don&#039;t see what the issue could be with the IMAP driver.</description> 
   <pubDate>Thu, 14 Apr 2011 19:08:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63759</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; My users are under name space &quot;user.&quot; I will try to harc</title> 
   <description>&gt;&gt;&gt; My users are under name space &quot;user.&quot; I will try to harcode that into
&gt;&gt;&gt; deleteMailbox arguments later today.
&gt;&gt;
&gt;&gt; I can confirm that adding &quot;user.&quot; in front of the $mailbox works and
&gt;&gt; mailbox gets deleted.
&gt;
&gt; Except that cyrsql expects the userhierarchy to be &#039;user/&#039;, not 
&gt; &#039;user.&#039;.  I have no idea which is correct, but it was this way in H3 
&gt; also.  Jan - can you provide input here?

No. It depends on your imapd.conf configuration. From Cyrus manual:

&quot;unixhierarchysep: 0
Use the UNIX separator character ?/? for delimiting levels of mailbox hierarchy. The default is to use the netnews separator character ?.?.&quot;

Mine is the default.</description> 
   <pubDate>Thu, 14 Apr 2011 19:15:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63762</link> 
  </item> 
   
  <item> 
   <title>Theoretically this could be even something completely differ</title> 
   <description>Theoretically this could be even something completely different than &quot;user NS-separator&quot;, so the prefix must be specified as a configuration option. It should default to &quot;user.&quot; though.</description> 
   <pubDate>Thu, 14 Apr 2011 19:25:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63764</link> 
  </item> 
   
  <item> 
   <title>&gt; The IMAP auth driver defaults to &#039;user.&#039;  So this should b</title> 
   <description>&gt; The IMAP auth driver defaults to &#039;user.&#039;  So this should be fine 
&gt; there - I don&#039;t see what the issue could be with the IMAP driver.

True, it seems that I&#039;ve tested IMAP driver on the wrong server.

And with this patch CyrSQL driver works too.</description> 
   <pubDate>Sun, 17 Apr 2011 19:10:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63837</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Fix default </title> 
   <description>Changes have been made in Git for this ticket:

Fix default userhierarchy for Cyrsql driver (Bug #9895).

 2 files changed, 10 insertions(+), 22 deletions(-)
http://git.horde.org/horde-git/-/commit/94c2dbc93c077f04a1c5dcf34c689689b09b40af</description> 
   <pubDate>Tue, 19 Apr 2011 00:45:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63875</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9895: R</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9895: Replace &#039;unixhier&#039; parameter with &#039;userhierarchy&#039; for Cyrsql auth driver

 2 files changed, 8 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/53d7867eef3cb3a85aff19aa9957cee5ac8954e1</description> 
   <pubDate>Tue, 19 Apr 2011 00:45:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9895#t63876</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
