Spam contacts in recent recipient

Hi,
I’m not sure if this is a bug but if I search for a new contact, the suggestion is showing spam recipients. I double check in my archive and I cannot find emails containing this specific emails. Is there a way to clean and remove those suggestions? If this is a bug I can open on the other platform.

@boredkollie:

First, welcome to the KDE Plasma Discuss forums!


Assuming that, you’ve either deleted or archived the spam e-Mails then, some of the data which was in the headers of those e-Mails is possibly still stored in the Akonadi database.
The following Akonadi Control CLI command should help to clean such entries from the database assuming that, the concerned e-Mails are no longer stored in any IMAP accounts or, local accounts (including POP3 accounts) –

> akonadictl vacuum

Thanks for the warming welcome!

I’m pretty sure I deleted trash and junk folders, and even the search for those email are not returning any result. I search in the full body message, run akonadictl vacuum but they still appear in the suggestion.

@boredkollie:

Then, you’ll have to raise a Bug Report – <KDE Bugtracking System>

  • Unfortunately, not the same login as that for this Forum – you have to supply an e-Mail address as the login name for the Bug Reporting system.

PRIVACY NOTICE: KDE Bugtracking System is an open bug tracking system. Activity on most bugs, including email addresses, will be visible to registered users. We recommend using a secondary account or free web email service (such as Gmail, Yahoo, Hotmail, or similar) to avoid receiving spam at your primary email address.


You could try using the “akonadiconsole” to inspect the Akonadi database and determine where those addresses are being locally stored on your system.

Alternatively, use “grep” to search the following ‘~/.local/share/’ directories for those e-Mails –

  • ~/.local/share/local-mail/
  • ~/.local/share/.local-mail.directory/
  • ~/.local/share/akonadi_maildir_resource_?/
  • ~/.local/share/akonadi_imap_resource_?/