Sam, all,
I'm terribly sorry, I was careless. The patch I posted before was 
twofolded. The noop() one liner is what really does what I described it 
to do. I have included that part for clarity below. The rest was 
actually a workaround for a totally braindead MS Outlook which insists 
to issue idle commands without selecting any mailbox. This was actually 
repeated infinitely, which in turn made me suggest the "TOO MANY 
CONSECUTIVE PROTOCOL VIOLATIONS" patch last spring, to let the imap 
daemon less vulnarable for that kind of corporate software originated 
dos attacks.
I do not ask you to add that part of the patch, only the oneliner in the 
attachment. However, I will use the outlook workround myself, as a 
service for some of my clients.

Regards, Tomas
--- ./imap/imapd.c-     Wed Nov 14 05:14:51 2001
+++ ./imap/imapd.c      Mon Jan  7 19:57:30 2002
@@ -1077,6 +1085,7 @@
 const int idleTimeout = envp ? atoi(envp) : 60;

        writes("+ entering idle mode\r\n");
+       noop();
        writeflush();
        while (!doidle(idleTimeout))
        {

Reply via email to