Bug 394505

Summary: Many "unnamed" identities are created without intervention
Product: [Applications] kmail2 Reporter: Adam Bark <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: alejandro_aero, nortexoid, tane
Priority: NOR    
Version: 5.9.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Adam Bark 2018-05-21 05:51:53 UTC
Since adding a second account to kmail I get many unnamed identities popping up without any input from me. Is there anything I can do to debug this? I don't see anything in the journal.

KDE Neon User edition
KMail 5.8.1
Comment 1 Adam Bark 2018-09-11 16:11:55 UTC
I found that the identities are located at ~/.config/emailidentities and removing them from there seemed to stick but I also reset akonadi at the same time so I don't know if that's the only requirement.

Removing these unnamed identities through the interface just seemed to make them double when restarting kmail.
Comment 2 Alejandro Lorenzo 2018-09-11 16:22:21 UTC
I am also seeing this behaviour, will try to remove from emailidentities
Comment 3 Christophe Marin 2018-09-13 10:32:57 UTC
what do these identities contain ? are the information related to the account you created ?
Comment 4 Adam Bark 2018-09-14 00:16:24 UTC
I didn't take a copy, sorry. Maybe Alejandro can help. I think I was trying to setup a new, generic imap, account and ended up cancelling before it was complete but an identity had somehow been created with no name.
Comment 5 Tane 2023-01-23 21:38:03 UTC
I have had the same problem after doing an import from Thunderbird. Removing them from ~/.config/emailidentities manually works but if I try and remove them using Configure Kmail/Accounts/Identities then it changes the file (it caused a reload on kate) but doesn't actually remove the identities from the file.

Permissions on the ~/.config/emailidentities file are 700.

KMail 5.15.3 (20.08.3)
Debian 11

It also appears to be a duplicate of,
https://bugs.kde.org/show_bug.cgi?id=404947
and weirdly,
https://bugs.kde.org/show_bug.cgi?id=310428