<?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>Unavailable mailboxes shown as empty</title> 
  <pubDate>Fri, 10 Apr 2026 05:02:45 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/5296</link> 
  <atom:link rel="self" type="application/rss+xml" title="Unavailable mailboxes shown as empty" href="https://bugs.horde.org/ticket/5296/rss" /> 
  <description>Unavailable mailboxes shown as empty</description> 
 
   
   
  <item> 
   <title>We are using Cyrus IMAP in a &quot;murder&quot; configuration.  Occasi</title> 
   <description>We are using Cyrus IMAP in a &quot;murder&quot; configuration.  Occasionally, one of the backend servers will go down while the frontend servers remain up.  The IMAP transaction looks like this:



$ openssl s_client -connect mail:993 -quiet

depth=1 /C=US/O=Equifax/OU=Equifax Secure Certificate Authority

verify return:0

* OK cyrus-frontend-host Cyrus IMAP4 Murder v2.2.12 server ready

a01 LOGIN testuser password 

a01 OK User logged in

a02 SELECT INBOX

a02 NO Server(s) unavailable to complete operation

a03 LOGOUT

* BYE LOGOUT received

a03 OK Completed

read:errno=0



So the login succeeds because authentication is done on the front-end, but the INBOX is unavailable because it&#039;s on the down backend.



IMP should be able to catch the &quot;server unavailable&quot; message and pass it back to the UI instead of showing an empty mailbox.  Users currently panic, thinking that their mailbox has been wiped, when in reality their backend server is undergoing maintenance (or it&#039;s broken, but their mail will be back when the server comes back up).</description> 
   <pubDate>Tue, 24 Apr 2007 02:10:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5296#t32175</link> 
  </item> 
   
  <item> 
   <title>I would classify this as an enhancement rather than a bug.</title> 
   <description>I would classify this as an enhancement rather than a bug.</description> 
   <pubDate>Tue, 24 Apr 2007 10:05:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5296#t32191</link> 
  </item> 
   
  <item> 
   <title>I&#039;m unaware of a way to get that &quot;server unavailable&quot; messag</title> 
   <description>I&#039;m unaware of a way to get that &quot;server unavailable&quot; message from c-client. Your best bet may be to get murder to issue an IMAP ALERT instead of just the &quot;No&quot;.</description> 
   <pubDate>Sun, 13 May 2007 03:59:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5296#t33013</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;m unaware of a way to get that &quot;server unavailable&quot; mess</title> 
   <description>&gt; I&#039;m unaware of a way to get that &quot;server unavailable&quot; message from 

&gt; c-client. Your best bet may be to get murder to issue an IMAP ALERT 

&gt; instead of just the &quot;No&quot;.



Perhaps.  However, if you set imap_closeonerror, imap_open() will fail instead of simulating an empty mailbox, i.e., the mailbox won&#039;t be halfopen.  Another option might be getting the error from mm_log().</description> 
   <pubDate>Sat, 09 Jun 2007 00:26:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5296#t33966</link> 
  </item> 
   
  <item> 
   <title>&gt; Perhaps.  However, if you set imap_closeonerror, imap_open</title> 
   <description>&gt; Perhaps.  However, if you set imap_closeonerror, imap_open() will 

&gt; fail instead of simulating an empty mailbox, i.e., the mailbox won&#039;t 

&gt; be halfopen.  Another option might be getting the error from mm_log().



Good info, thanks. Unfortunately, unless I&#039;m missing something all of those options would require changes to PHP, not just to Horde.</description> 
   <pubDate>Mon, 11 Jun 2007 15:01:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5296#t33974</link> 
  </item> 
   
  <item> 
   <title>I don&#039;t see a way to make this happen until there&#039;s a new im</title> 
   <description>I don&#039;t see a way to make this happen until there&#039;s a new imap library.</description> 
   <pubDate>Fri, 25 Jul 2008 02:45:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5296#t47781</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
