Bug 475414

Summary: Ghost emails in Exchange account
Product: [Applications] kmail2 Reporter: Gaël de Chalendar (aka Kleag) <kleagg>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.24.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gaël de Chalendar (aka Kleag) 2023-10-10 08:38:26 UTC
SUMMARY


STEPS TO REPRODUCE
1. Configure a Exchange EWS account
2. Use it, for example deleting emails, sometimes in the Microsoft webmail

OBSERVED RESULT
Ghost emails appear in the folder list: unread emails are signaled in the folders list while no unread email appear in the emails list and no unread email are visible in the Microsoft webmail.
Trying to fsck or vacuum akonadi does not change anything. Forcing the upadte of the folder does not work either. 

EXPECTED RESULT
No ghost message should be present.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-34-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-1370P
Memory: 62.4 Gio of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: HP
Product Name: HP EliteBook 840 14 inch G10 Notebook PC