[Tickets #13144] Re: IMAP error QRESYNC not enabled/invalid parameters

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Apr 22 23:44:31 UTC 2014


Ticket URL: http://bugs.horde.org/ticket/13144
  Ticket             | 13144
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | IMAP error QRESYNC not enabled/invalid parameters
  Queue              | IMP
  Version            | 6.1.7
  Type               | Bug
-State              | Unconfirmed
+State              | Not A Bug
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |

Michael Slusarz <slusarz at horde.org> (2014-04-22 17:44) wrote:

imapproxy is **terrible** when it comes to handling the instance where  
it's connection to the backend is broken.  From the client  
perspective, it is impossible to know that the underlying connection  
has been destroyed.

Horde/IMP tries to cache connection details when using imapproxy so we  
don't have to send the same commands over and over again.  If  
imapproxy doesn't report the error from the underlying server, Horde  
doesn't know that it has to clear its internal IMAP state cache.

There's really no reason to be using imapproxy anymore these days  
though for performance reasons, at least if using Dovecot 2+.

(Clearing the IMAP cache actually doesn't have much to do with this.   
All you are doing is preventing QRESYNC from being used in that  
initial connection, until the cache is primed again.  It's not fixing  
the underlying imapproxy issue).

In short, either stop using imapproxy or add XIMAPPROXY to the list of  
ignored capabilities in backends.php.  Or simply accept this imapproxy  
issue if it is extremely rare on your systems.

More information about the bugs mailing list