Forum Discussion
M1966B
Sep 02, 2022Copper Contributor
Outlook / Office 365 IMAP IDLE is broken
IMAP IDLE of the Outlook IMAP server (outlook.office365.com) is broken, which is clearly illustrated by this logging:
09-02 19:03:25.954 14491 14630 I javamail: email address removed for privacy reasons A11 IDLE
09-02 19:03:26.008 14491 14630 I javamail: email address removed for privacy reasons + IDLE accepted, awaiting DONE command.
09-02 19:04:46.088 14491 14630 I javamail: email address removed for privacy reasons DONE
09-02 19:04:46.175 14491 14630 I javamail: email address removed for privacy reasons * 1 RECENT
09-02 19:04:46.176 14491 14630 I javamail: email address removed for privacy reasons * 1 EXISTS
09-02 19:04:46.176 14491 14630 I javamail: email address removed for privacy reasons A11 OK IDLE completed.
The new message reported as 1 EXISTS was available before issuing the DONE command (confirmed via the web interface).
The normal sequence according to RFC2177 (IMAP IDLE) is:
C: A002 IDLE
S: + idling
...time passes; new mail arrives...
S: * 4 EXISTS
C: DONE
https://www.rfc-editor.org/rfc/rfc2177#page-3
This means push notifications in general are broken and that new messages can be discovered only by constant polling, which defeats the purpose of IMAP IDLE.
Hopefully an engineer can look into this.
19 Replies
Sort By
- ThiefMasterCopper ContributorAlmost 3 months later this is still broken. Can this please be fixed? I get it, IMAP is a second-class citizen for Microsoft, but at least fix problems with standard features...
- edh321Copper ContributorWe've been using IDLE for years with no problems, last week (week of Oct 11th) we started seeing IDLE failing, and it is still having the issue. I created new / fresh account today, and it has the same issue.
Has anyone found a workaround for this? Can anyone at MS comment on an ETA for a fix?- Blood_LetterCopper Contributor
edh321Same issue. I'd be shocked if MS actually responded.
My guess is this will eventually get fixed.
- edh321Copper Contributor
Blood_Letter thanks.
I've also created an official support request through the admin console. I'll update here if I find anything.
- Pete_LawsonCopper ContributorI'm getting what appears to be the same issue using MailKit. Are you still experiencing this issue?
- M1966BCopper Contributor
Pete_Lawson when I checked yesterday, the issue was still present. It was resolved for a few days, but later it returned.
- M1966BCopper Contributor
The problem has been fixed as of today:
09-19 21:21:27.275 24427 25389 I javamail: xxx + IDLE accepted, awaiting DONE command. 09-19 21:22:36.056 24427 25389 I javamail: xxx * 1 RECENT 09-19 21:22:36.056 24427 25389 I javamail: xxx * 1 EXISTS 09-19 21:22:36.073 24427 25423 I javamail: xxx DONE 09-19 21:22:36.135 24427 25389 I javamail: xxx BT13 OK IDLE completed.
- M1966BCopper Contributor
Unfortunately, the same problem is back again.
- Mark_MitelCopper ContributorWe are having this issue as well!
- TheMAC00Copper ContributorI can also confirm this issue - a fix would be a great help!
- zetastefCopper ContributorI can confirm this issue and a quick fix would be greatly appreciated.