Very annoying IMAP problem (cyrus + Outlook)

Bron Gondwana brong at fastmail.fm
Mon Sep 1 18:48:10 EDT 2008


On Mon, Sep 01, 2008 at 03:37:19PM -0400, Wesley Craig wrote:
> On 01 Sep 2008, at 14:50, Denis BUCHER wrote:
> > What should I do next to solve my problem ?
> 
> There are actually a couple of places cyrus might give the fatal  
> error "word too long".  The prot routines should be recording the  
> interactions before passing the data up to the imap layer where the  
> parsing error occurs.  Are there any long lines in your telemetry?   
> The bad line should directly proceed "* BYE Fatal error: word too  
> long" in the telemetry (if I'm reading imapd's fatal() routine  
> correctly).
> 
> AFAIK, there's nothing to be done other than adjusting the MAXWORD  
> and/or MAXQUOTED limits.  That means upgrading or recompiling the old  
> version that you're on.

This is what we apply at FastMail:

-    MAXQUOTED = 32768,
-    MAXWORD = 32768,
+    MAXQUOTED = 524288,
+    MAXWORD = 524288,

Our smallest IMAP server has 6Gb of memory, so we really don't need
baby-sized buffers :)

Bron.


More information about the Info-cyrus mailing list