Bug 502558

Summary: [Akonadi][Office365] akonadi EWS resource fail to download from inbox if it has more than 1G
Product: [Frameworks and Libraries] Akonadi Reporter: Boris Shtrasman <boris.sh.1983+kde.bugzilla>
Component: EWS ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: minor CC: carl, krissn
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Boris Shtrasman 2025-04-08 10:32:22 UTC
This is debian but moved upstream from debian's bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029676

Akonadi EWS resource is failing to download (inital) messages from inbox if it has more than 1GiB of storage.
Other folders are synced as expected.

This prevent use with Office365 and Exchange, only for folders which are more than 1 GiB (100 MiB for Excahnge 2007).

That is a variant of the IMAP bug https://bugs.kde.org/show_bug.cgi?id=339393 that prevented to download messages when a folder have more than 100 MiB in Exchange, the IMAP bug had been fixed by limiting the download batches to 2K messages each time.

On Office365 if you try to sync/pull from a folder with more than 1G you get disconnects. it always start from the start.

The imap bug had been fixed with  https://invent.kde.org/pim/kdepim-runtime/-/commit/94b64eebb6a88846b221aad810045fecb4173f79