Bug 417876 - Frequent IMAP connection errors when using office365 (outlook web) mail
Summary: Frequent IMAP connection errors when using office365 (outlook web) mail
Status: RESOLVED DUPLICATE of bug 417756
Alias: None
Product: trojita
Classification: Unmaintained
Component: IMAP (show other bugs)
Version: 0.7
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 14:59 UTC by Dimitrios Apostolou
Modified: 2020-02-19 18:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitrios Apostolou 2020-02-19 14:59:30 UTC
Hello, the connection breaks a couple of times per day. In the IMAP protocol log I see various errors like the following:

20:25:02.900 <<< y1303 OK STATUS completed.␍␊
20:25:02.900 Model BAD response: y1283 BAD Command Error. 12
20:25:02.900 Imap::Mailbox::KeepMailboxOpenTask attached to adfasdfs Failed: The connection is being killed for unspecified reason
20:25:02.900 Imap::Mailbox::NumberOfMessagesTask attached to bleh Failed: The connection is being killed for unspecified reason
20:25:02.900 Imap::Mailbox::NumberOfMessagesTask attached to blah Failed: The connection is being killed for unspecified reason
20:25:02.900 Imap::Mailbox::NumberOfMessagesTask attached to blue Failed: The connection is being killed for unspecified reason
[...]
20:25:02.900 *** Connection killed.
20:25:02.900 CantHappen The following command should have been handled elsewhere␍␊y1283 BAD Command Error. 12␊␊


Here is the IMAP server in use:

Hostname: outlook.office365.com
port: 993

Server: Microsoft.Exchange.Imap4.Imap4Server 15.20
name: Microsoft.Exchange.Imap4.Imap4Server
version: 15.20
The following capabilities are currently advertised:
IMAP4
IMAP4REV1
AUTH=PLAIN
AUTH=XOAUTH2
SASL-IR
UIDPLUS
MOVE
ID
UNSELECT
CLIENTACCESSRULES
CLIENTNETWORKPRESENCELOCATION
BACKENDAUTHENTICATE
CHILDREN
IDLE
NAMESPACE
LITERAL+
Comment 1 Dimitrios Apostolou 2020-02-19 15:09:14 UTC
The pop-up window when the error occurs shows:

The IMAP server sent us a reply which we could not parse. This might either mean that there's a bug in Trojitá's code, or that the IMAP server you are connected to is broken. Please report this as a bug anyway. Here are the details:
UnexpectedHere: UnexpectedHere
y433 STATUS "Deleted Item* STATUS INBOX (MESSAGES 525 UNSEEN 0 RECENT 0) 

            ^ here
Comment 2 Jan Kundrát 2020-02-19 18:18:47 UTC
That's a bug in Exchange I'm afraid.

*** This bug has been marked as a duplicate of bug 417756 ***