From kdepim-users Sun Apr 03 08:48:04 2022 From: Ianseeks Date: Sun, 03 Apr 2022 08:48:04 +0000 To: kdepim-users Subject: Re: Kmail - greyed out emails Message-Id: <2626712.mvXUDI8C0e () lianli> X-MARC-Message: https://marc.info/?l=kdepim-users&m=164897568527000 On Saturday, 2 April 2022 14:02:38 BST Erik Quaeghebeur wrote: > Dear Ian, >=20 >=20 > > > > I've got a weird situation in kmail with one email [=E2=80=A6] > > > >=20 > > > > Its repeated 15 times, there are 4 single copies in the local folde= r and one copy with the rest below it as a thread. [=E2=80=A6] > > > >=20 > > > > They are all greyed out and I can't select any of them to delete th= em. > > > >=20 > > > > Any ideas how i can remove them? > > >=20 > > > One possibility is that the mails got the \Deleted flag set in some w= ay. With akonadiconsole it is possible to delete such mails o remove their = \Deleted flag. > > >=20 > > > So install akonadiconsole if you do not have it already. Then open th= e browser tab, navigate to the folder where the greyed=3Dout mails are pres= ent. Change the view as necessary to find the mails that are greyed out in = KMail. You can select all of them and right click. In the context menu that= appears, you have the option to delete them. You can also, after selecting= one mail, below right remove the \Deleted flag from a mail, if present (do= not forget to press Save). > > >=20 > > > If a \Deleted flag being set is not the issue, I do not know what cou= ld be the issue. > >=20 > > None of the greyed out emails show up in the browser, in fact no emails= show in that folder at all even though there are lots there. >=20 > That is extremely puzzling. Both kmail and akonadiconsole are essentially= frontends to the akonadi database. The latter is a bit more low-level and = should more closely represent what is in the database. It does not make sen= se that kmail should be able to show entries while akonadiconsole cannot. (= I assume your restarted kmail so that any in-memory data structures have be= en reloaded from the akonadi database.) >=20 > * If you look at other folders and resources/accounts in akonadiconsole's= browser, does their content correspond to what you see in kmail/kaddressbo= ok/=E2=80=A6?=20 In the Collection window, the Folder with the greyed out emails it does say= 15 in the unread column (which is correct) and 801 in the Total column but= no emails are in the subject window. =46or the rest of the folders in the Collection window:-=20 all the folders have a number in the Total column but with some folders, th= ere are no emails in the Subject window and in other folders there are a fe= w emails but not as many as it says in the Total column. >=20 > * In the Agents tab, are there any resources with errors or off-line? All "Ready" >=20 > * In the DB Browser tab, selecting the PimItemTable and sorting on =E2=80= =98dirty=E2=80=99 (1 before 0), are there any entries with 1 in that column? 5 items set to True but "datetime" 2020/21 with "atime" 2020/21/22 =20 >=20 Thanks for your responses Ian > Best, >=20 > Erik >=20 >=20 >=20 =2D-=20 opensuse:tumbleweed:20220331 Qt: 5.15.2 KDE Frameworks: 5.92.0 - KDE Plasma: 5.24.3 - kwin 5.24.3 kmail2 5.19.3 (21.12.3) - akonadiserver 5.19.3 (21.12.3) - Kernel: 5.17.1-= 1-default - xf86-video-nouveau: 1.0.17