Re: A mess in KMail

Michael <[email protected]> Sun, 21 Jun 2026 08:16:20 +0100
Newsgroups gmane.linux.gentoo.user
Message-ID <[email protected]>
--nextPartji6G5Y90QJS7oshWKjKb3w
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Michael <[email protected]>
To: [email protected]
Reply-To: [email protected]
Subject: Re: [gentoo-user] A mess in KMail
Date: Sun, 21 Jun 2026 08:16:20 +0100
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
MIME-Version: 1.0

On Sunday, 21 June 2026 07:30:51 British Summer Time Peter Humphrey 
wrote:
> On Saturday, 20 June 2026 16:31:20 British Summer Time Michael wrote:
> > You could try 'clear cache' from within akonadiconsole, after you
> > shut down kmail.  Best you try this ONLY on ONE folder/subfolder,
> > then check the situation within Kmail to make sure it worked. 
> > Large folders may take some time.
> 
> Now that you remind me, I had to do that once before, and it did the
> job.

It worked on one of my systems too, which happened to have incurred a 
database corruption.


> > If the above does not work, you can have a look at this process to
> > recreate everything from scratch:
> > 
> > https://userbase.kde.org/KMail/
> > FAQs_Hints_and_Tips#Clean_start_after_a_failed_migration
> 
> "There were no results matching the query."

The email client broke the URL I quoted in half.  Copy and paste the 
complete string into your browser to get there.


> In the end, there was nothing for it but to follow Google's AI
> recommendation:

In the first instance I'd rather trust the KDE devs and community's wiki 
recommendations, than whatever AI may throw up.  However, I understand 
desperate times call for desperate measures.  :-)


> --------
> If your setup is thoroughly broken, clearing the configuration and
> database files acts as a factory reset.
> 
> 1.    Back up your existing emails via KMail's File > Back Up Data...
> or export rules using the PIM Data Exporter.
> 2.    Close KMail and stop the Akonadi server:
>     akonadictl stop
> 3.    Delete the configuration directories:
>     rm -rf ~/.config/akonadi_* ~/.config/kmail*
>     rm -rf ~/.local/share/akonadi/ ~/.local/share/kmail2/
> 4.    Restart Akonadi and open KMail to reconfigure your accounts from
> scratch. --------
> 
> I was surprised at how much survived that process: most of what can be
> set under the Settings menu of KMail; identities, server name and so
> on.


--nextPartji6G5Y90QJS7oshWKjKb3w
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmo3j8QbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJELHqqvbClWcZYM4P/3xibsdslNn5DcgTYbUL
WkUY9KYiRhYk0yZS1qCLTtJ81M26kYILm0GJj4ZkvtTuuFMjasKpypz4iq/gdIFg
t4tDpcr6yeKdFHMSazpDgTiaZNjExGb+AmXXyTnsgEVvaR0WOXZ4SRFtWx11PYTf
s+sPLpd/HdT0LKiqLLT5RPOn1uAQLoKAfYS0G8UYQgZgkGhMNp9NXtLgcuLSdqB0
WSXn53d2fWyarJyGTAr4qs3+C7SkATLpt6LnbbwiAKp8Cjn9xIIen0en2VrS3JWj
auYY5PSwTY3LKg8U/BqLrnF6EEyW1InjQnB/Qt9c+CFOyNVY6by7XY5TBHsRf8Ho
IUKTc3Ix3HJUZYwf3+4uqz4126Lo6rejImDUUGNQZH3ZfTqLd0IjVQ9pgu8mBncz
spOtxs1ZbcPjiKW1XqJOb2ZR31PC/Oed+dMBdg8jix59typXWqX+yZftiQwC8XjP
xvWYkten7N4giLrGlBJZdfQXspg0urBquFVBDDW8JxbOlH5EAeVQUDK51pHgBKdD
a2oFTx7Cu7SPqvPEWngdUzWa00VCoZg9xCS1OcJ9KK5Fk8IhzzTxGl25uq6xXHYW
aPVwRG0tbJp9xQbgZ2OMOneESOGJbLcenRS/cYhkvG/CIiPFxO30GnwrcTGgZErm
Okm6VzqByMqSIu99Lax6EYSl
=XyNd
-----END PGP SIGNATURE-----

--nextPartji6G5Y90QJS7oshWKjKb3w--