Bug 437688 - Cannot download email from office365.com via IMAP
Summary: Cannot download email from office365.com via IMAP
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 5.17.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-26 00:53 UTC by Aaron Williams
Modified: 2021-05-26 02:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Williams 2021-05-26 00:53:58 UTC
Akonadi is getting stuck on this email.  I am wondering if it is related to Bug# 403903 since I have seen the same throttling on IMAP when my laptop attempts to sync all IMAP email.  At some earlier point I debugged IMAP to Office365 to also returning throttling responses.

In any event, Akonadi is getting stuck on the following email.  Note that I have stripped out a lot of identifying information since this is a work account. This account contains a lot of emails going back over 10 years.

I repeatedly get the following output from Akonadi:

org.kde.pim.kimap: The stream parser raised an exception: Unable to read more data

Here is the email it keeps barfing on:
C: A000005 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CLIENTACCESSRULES CLIENTNETWORKPRESENCELOCATION BACKENDAUTHENTICATE CHILDREN IDLE NAMESPACE LITERAL+
S: A000005 OK CAPABILITY completed.
C: A000006 NAMESPACE
S: * NAMESPACE ( ("" "/") ) ( ) ( )
S: A000006 OK NAMESPACE completed.
C: A000007 ID ("name" "Kontact IMAP Resource")
S: * ID ( name Microsoft.Exchange.Imap4.Imap4Server version 15.20 )
S: A000007 OK ID completed
C: A000008 APPEND "INBOX" "25-May-2021 16:04:15 +0000" {2286071}
S: + Ready for additional command text.
C: Received: from CO6PR18MB4449.namprd18.prod.outlook.com (2603:10b6:5:359::21) by BYAPR18MB2469.namprd18.prod.outlook.com with HTTPS; Tue, 25 May 2021 16:06:53 +0000
Received: from BN6PR16CA0028.namprd16.prod.outlook.com (2603:10b6:405:14::14) by CO6PR18MB4449.namprd18.prod.outlook.com (2603:10b6:5:359::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.26; Tue, 25 May 2021 16:06:43 +0000
Received: from BN8NAM04FT045.eop-NAM04.prod.protection.outlook.com (2603:10b6:405:14:cafe::90) by BN6PR16CA0028.outlook.office365.com (2603:10b6:405:14::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23 via Frontend Transport; Tue, 25 May 2021 16:06:43 +0000
Authentication-Results: spf=fail (sender IP is 4.21.29.232) smtp.mailfrom=XXXXXXX.com; XXXXXXX.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none;XXXXXXX.mail.onmicrosoft.com; dmarc=fail action=none header.from=XXXXXXX.com;
Received-SPF: Fail (protection.outlook.com: domain of XXXXXXX.com does not designate 4.21.29.232 as permitted sender) receiver=protection.outlook.com; client-ip=4.21.29.232; helo=XXXXXXX.com;
Received: from XXXXXXX.com (4.21.29.232) by BN8NAM04FT045.mail.protection.outlook.com (10.13.160.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4129.27 via Frontend Transport; Tue, 25 May 2021 16:06:42 +0000
Received: from DC6WP-EXCH01.XXXXXXX.com (10.76.176.21) by DC6WP-EXCH01.XXXXXXX.com (10.76.176.21) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 May 2021 12:04:22 -0400
Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.46) by DC6WP-EXCH01.XXXXXXX.com (10.76.176.21) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 25 May 2021 12:04:21 -0400
Received: from SJ0PR18MB3820.namprd18.prod.outlook.com (2603:10b6:a03:2ec::14) by SJ0PR18MB3900.namprd18.prod.outlook.com (2603:10b6:a03:2e4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.27; Tue, 25 May 2021 16:04:17 +0000
Received: from SJ0PR18MB3820.namprd18.prod.outlook.com ([fe80::1c5a:c1f3:7f79:1531]) by SJ0PR18MB3820.namprd18.prod.outlook.com ([fe80::1c5a:c1f3:7f79:1531%3]) with mapi id 15.20.4150.027; Tue, 25 May 2021 16:04:16 +0000
From: Mandisa Diggs <mdiggs@XXXXXXX.com>
To: XXXXXX-group-email <XXXXXX-group-email@XXXXXXX.com>
Cc: A huge list of email addresses
Subject: TODAY! | Celebrate Resilience, Uplift Voices | Virtual Asian American Pacific Islander Heritage Month | 
Thread-Topic: TODAY! | Celebrate Resilience, Uplift Voices | Virtual Asian American Pacific Islander Heritage Month | 
Thread-Index: AddRf5EkZkwYbYxVCEmdMHgr9NgLHQ==
Date: Tue, 25 May 2021 16:04:15 +0000
Message-ID: <SJ0PR18MB3820E08DB0149DA55F53E0FACB259@SJ0PR18MB3820.namprd18.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
x-ms-publictraffictype: Email
Authentication-Results-Original: XXXXXXX.com; dkim=none (message not signed) header.d=none;XXXXXXX.com; dmarc=none action=none header.from=XXXXXXX.com;
x-ms-exchange-calendar-series-instance-id: BAAAAIIA4AB0xbcQGoLgCAAAAAAgG8WDLUjXAQAAAAAAAAAAEAAAAJVFbzSgQwdMk9UTLy2Ye5g=
x-originating-ip: [73.185.82.159]
X-MS-Office365-Filtering-Correlation-Id: 270396e0-3ad8-4297-1bdd-08d91f9716bc
x-ms-traffictypediagnostic: SJ0PR18MB3900:MeetingMessage|CO6PR18MB4449:MeetingMessage
x-ld-processed: 70e1fb47-1155-421d-87fc-2e58f638b6e0,ExtAddr
x-ms-exchange-transport-forked: True
x-ms-oob-tlc-oobclassifiers: OLM:3173;OLM:3173;
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: mv985qN0IxBI78B7JSFBAiFTyFXuzLxc4245nqhommc7l3tnvlgFkG8XinzfSXTUj/uWqgnxjMVy4b1dkTEA2Z8hbxrNC4gbyMMo1RDbxu1z60LPNJ3xv0jrLtFnz93YpF2IPl651slkUIHt8MmMIYKd9XnEuW9h9niynozPRAxgrgA9KjSlwIFageqGMlmLi54HsdNh3+cE+skWdOgX2nRPHQQEUNjLXzFRl6lZ4F+i3AkBqHc5MiBMsLod7l3aF5SJU3dMoKlCd9OYep7u/hF9txuyueCXu25U/sqBdZNrxDgnECkSorGc9Z9rOjg/cg44TpEJCNLDRpQYLkgKL5bX/SpN2vIbr4DPb2uuPw5BG7P2W3l96cdIpe0B6Dg9U6y2QoJnj21RoLzGODAKKvNBtvCGswzU2xD3gjCAGYQ99LalihhuS8B5OjuMHeLqByk1QPjc5QkSeeXofVfdGZio2sUxandKNdmUA3JS8vQQAgT1cUMcJ3fByDmQE1AELYfLMVT9eG0v3zO7S1/on9zJvJ/e2wD3+QwX+93KUwHt6XaBahhpibophEfilJBJS4CDkma+aSSDPNiyRovM8Tm0y0DfP29fjD73bzc6r73WdjWGYRE6kCenDPc8xWst9LOi2bvyJBC/b0OBIbHSMn66l5IZ7LKi3dMgZvhDnvA=
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:-1;SRV:;IPV:NLI;SFV:SKI;H:SJ0PR18MB3820.namprd18.prod.outlook.com;PTR:;CAT:NONE;SFS:;DIR:INB;
x-ms-exchange-antispam-messagedata: TJ4p7hAB3HWcU+waH7XHWYIqgPHhw3HYG0XW28QZZ2aoOEXkhAGr3Cp9T+0qYL4pfx1z/lJ7qFqvDcevfrjX1XOaATa6oIKPxVDwXeL0LN8RBQhIPW9EF3J23+zpGC2CGncDbFxIFDzeqgyRJzI2d8LxZBVG2+6dSsz8jVSC0+vlxOA6fGq5ii/QrN7r/S2kDm897r2ZLwL/Y3377sA4yJIJkcof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/tl3qQvWiHRq8L4yMhJf5kyvXaRdSkpWLa5v67UhH4kcAZgdwvr9ct
Content-Type: multipart/mixed; boundary="_005_SJ0PR18MB3820E08DB0149DA55F53E0FACB259SJ0PR18MB3820namp_"
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB3900
X-OrganizationHeadersPreserved: SJ0PR18MB3900.namprd18.prod.outlook.com
Return-Path: <mdiggs@XXXXXXX.com>
X-CrossPremisesHeadersPromoted: DC6WP-EXCH01.XXXXXXX.com
X-CrossPremisesHeadersFiltered: DC6WP-EXCH01.XXXXXXX.com
X-Auto-Response-Suppress: DR, OOF, AutoReply
X-OrganizationHeadersPreserved: DC6WP-EXCH01.XXXXXXX.com
X-MS-Exchange-Organization-ExpirationStartTime: 25 May 2021 16:06:43.1585 (UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Exchange-Organization-Network-Message-Id: 270396e0-3ad8-4297-1bdd-08d91f9716bc
X-EOPAttributedMessage: 0
X-MS-Exchange-Organization-MessageDirectionality: Originating
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-MS-Exchange-Organization-AuthSource: SJ0PR18MB3820.namprd18.prod.outlook.com
X-MS-Exchange-Organization-SCL: -1
X-CrossPremisesHeadersPromoted: BN8NAM04FT045.eop-NAM04.prod.protection.outlook.com
X-CrossPremisesHeadersFiltered: BN8NAM04FT045.eop-NAM04.prod.protection.outlook.com
X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN8NAM04FT045.eop-NAM04.prod.protection.outlook.com
X-OriginatorOrg: XXXXXXX.com
X-MS-Office365-Filtering-Correlation-Id-Prvs: f9eba569-2895-4fe1-6fee-08d91f96bf96
X-Microsoft-Antispam: BCL:0;
X-Forefront-Antispam-Report: CIP:4.21.29.232;CTRY:US;LANG:en;SCL:-1;SRV:;IPV:NLI;SFV:SKI;H:XXXXXXX.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:;DIR:INB;
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2021 16:06:42.7627 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 270396e0-3ad8-4297-1bdd-08d91f9716bc
X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=70e1fb47-1155-421d-87fc-2e58f638b6e0;Ip=[4.21.29.232];Helo=[XXXXXXX.com]
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR18MB3820.namprd18.prod.outlook.com
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4449
X-MS-Exchange-Transport-EndToEndLatency: 00:00:10.8231961
X-MS-Exchange-Processed-By-BccFoldering: 15.20.4150.027
X-Microsoft-Antispam-Mailbox-Delivery: ucf:0;jmr:0;auth:0;dest:I;ENG:(750129)(520011016)(706158)(944506458)(944626604);
X-Microsoft-Antispam-Message-Info: 97EMdM/ngwzQ5Of23ZtsE1Fbm2m4eJ6qCZFneuYufwwx4Pu1BMF9xHfHNVEvZE56XZC72+fLWKeRuOfTbGdsn95ROOamzs2fZXPLCC8MEEurNhQnrMM4BP6Oim/T9iCummqTBy5xewR/STXfiCcqeozoSId7l4QIbCUmLjUFdN/jp62iTo7WX0PcFjVwKYAnYr8M27Hdxgx0i1mA1joNyhuIs3w2Srk9r23E2Rr8a9dkEAEUJpQ55/rBaEK8TPU16u40pMjmpN94AT88Ktte7THHdBLFQWK6hO+JQzkfWBBNu/lpTgwQAOxN0k++b32IF80pCJ6Ly3STQKrU5xEf7xbywB5JdlqmkmYNyehwPbhlayMW8hhuURfW8gnXaS/oiTHKmrSNnbHEP88FQwBI1S5iPx+iPhRLPNRqbCywJvSCIfvyCllVcNsUDcWGBRIlaLpLAjrJPTnRlVpM7yxxuPmCYYi3ZHuA1UU+5cndru20tE7Mb9/38TixLyMJnVE9Wp5c2ZMUXQwsy+PPPBiBRkMKnW/XojlQTrjRZFnLxhLg5UVUzzP1ER06hfQhq+/gxZ+FjHNQx1mhlo/w4Qcgojq7UgaT1/XlHLt8iO2A/liiTwq3QcdJB16pmezwatKI
MIME-Version: 1.0

 
--_005_SJ0PR18MB3820E08DB0149DA55F53E0FACB259SJ0PR18MB3820namp_
Content-Type: multipart/alternative; boundary="_000_SJ0PR18MB3820E08DB0149DA55F53E0FACB259SJ0PR18MB3820namp_"

--_000_SJ0PR18MB3820E08DB0149DA55F53E0FACB259SJ0PR18MB3820namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

(HTML email)

--_000_SJ0PR18MB3820E08DB0149DA55F53E0FACB259SJ0PR18MB3820namp_
Content-Type: text/calendar; charset="utf-8"; method="REQUEST"
Content-Transfer-Encoding: base64


xxxxxx

--_005_SJ0PR18MB3820E08DB0149DA55F53E0FACB259SJ0PR18MB3820namp_--
S: Cc: BAD Command Error. 10
X






SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Aaron Williams 2021-05-26 02:05:39 UTC
I am also seeing this message:
org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection MessageViewer-93885839893888 (0x55ed0a210340) : Unable to fetch item from backend (collection -1) : Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I have deleted this email from my inbox as well as permanently deleted it from my deleted and recoverable folders using the web interface but it is still barfing on this same email. Kontact thinks it's in my trash folder, but I deleted everything in that folder.