Insert artificial delay into IMAP server responses (to workaround OL2002)

Ken Murchison ken at oceana.com
Tue Apr 13 11:44:48 EDT 2004


Doug Koobs wrote:
> After some more research, and some emails exchanges from others that 
> have been troubleshooting OL2002's IMAP problems, I think I have a 
> better idea of what the problem. It seems that Outlook can't handle 
> responses as quickly as Cyrus sends them, and it doesn't queue them. It 
> just ignores them. I found a post where one admin had inserted an 
> artificial delay (10-20 microseconds) to all IMAP responses sent by 
> Cyrus, and claimed this made a huge improvement.
>  
> I know this is a kludgy work-around, but at this point it's better that 
> nothing. Can anyone point me in the right direction to accomplish this? 
> I'm hoping there's just a configuration parameter I can add somewhere...

You're right, this is a hack.  Its funny that the problem is that the 
server is "too fast".  Where have you ever heard that before?

There is no config parameter.  Probably the easiest place to do this 
would be in the prot layer (lib/prot.c), but you *may* have to do it on 
a per command/response basis, which means touching a lot of code in 
imapd.c and index.c

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list