Re: Ghost emails

Ianseeks <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <5567340.DvuYhMxLoT@lianli>
On Tuesday, 17 May 2022 15:45:23 BST Peter Humphrey wrote:
> On Tuesday, 17 May 2022 08:32:35 BST Ianseeks wrote:
> 
> > Drat, everything coming in is duplicating now.  I'm going to have to delete
> > akonadi DB and rebuild in the vain hope that will fix it.
> 
> 1.  This may work for you; it's what I used to do when deluged with 
> duplicates.
> 
> Stop KMail and run akonadiconsole. Taking one folder at a time, right-click on 
> it in the Browse window and delete its akonadi cache. Exit akonadiconsole, 
> akonadictl stop ... wait until it has ... akonadictl start. 
> 
> Start KMail and click on the folder you've just cleared. It should repopulate 
> from the SQL database.
> 
> Repeat for other folders.
> 
> 2.  Another trick worth trying is as follows - and it may not be safe unless 
> you have all emails stored locally, not on an IMAP server. No guarantees.
> 
> After stopping the delivery of emails, remove all duplicates from a particular 
> folder, by hand if need be, then make an archive of that folder. (You may get 
> a complaint that a message can't be archived, in which case you may still have 
> a duplicate of it.) Delete the folder, then import messages from the archive 
> you've just made*, telling it to remove duplicates. With any luck you'll then 
> have a clean folder, and it shouldn't create any more duplicates - until the 
> next time, of course.

I will give that a try. 
i've created a new user so i can still get emails and get on with life. I still have the old user and i can try that to see if it fixes it.

> *  I prefer to unpack the .tar.bz2 and input KMail folder and directory 
> structure: it's better at stripping out duplicates than just importing from 
> the archive file.
> 
> HTH.
> 
Thanks a lot for the proposed solution.

regards

Ian
-- 
opensuse:tumbleweed:20220512
Qt: 5.15.2 KDE Frameworks: 5.93.0 - KDE Plasma:  5.24.5 - kwin 5.24.5
kmail2 5.20.0 (22.04.0) - akonadiserver 5.20.0 (22.04.0) - Kernel:  5.17.5-1-default  - xf86-video-nouveau:  1.0.17
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.