You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Wojtek Strzalka (JIRA)" <se...@james.apache.org> on 2011/01/15 11:49:47 UTC

[jira] Updated: (IMAP-245) IDLE should not require selected state

     [ https://issues.apache.org/jira/browse/IMAP-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wojtek Strzalka updated IMAP-245:
---------------------------------

    Attachment: james-imap.patch

And here is the proposed solution to the issue. 

It allows IDLE in authenticated state, but don't tries to add listener then. Just doing nothing.

I'd looked at Zimbra and it seems what they do. 



> IDLE should not require selected state
> --------------------------------------
>
>                 Key: IMAP-245
>                 URL: https://issues.apache.org/jira/browse/IMAP-245
>             Project: JAMES Imap
>          Issue Type: Bug
>          Components: Protocol
>    Affects Versions: 0.2
>            Reporter: Wojtek Strzalka
>             Fix For: 0.2
>
>         Attachments: james-imap.patch
>
>
>  The problem is that Outlook on one of the connections it opens to IMAP, tries to do IDLE when no mailbox is selected. The   problem is that this brilliant MS product don't want to give up, and retries it sometimes 10 requests and sometimes hundreds of them - maybe more. In thew best case it ends up with extra 200kB of "IDLE <-> NO IDLE failed" communication, but sometimes it ends up with Outlook hanged.
> The RFC says IDLE is valid also for authenticated state, however behavior is undefined.... 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org