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:45:50 UTC

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

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


 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


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

Posted by "Wojtek Strzalka (JIRA)" <se...@james.apache.org>.
     [ 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


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

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/IMAP-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982066#action_12982066 ] 

Norman Maurer commented on IMAP-245:
------------------------------------

Just for the record, dovecot does the same as zimbra

> 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
>            Assignee: Norman Maurer
>             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


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

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/IMAP-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved IMAP-245.
--------------------------------

    Resolution: Fixed
      Assignee: Norman Maurer

fixed.. Thx for the patch!

> 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
>            Assignee: Norman Maurer
>             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