Bug 419872

Summary: IMAP Account doesn't show in account's list
Product: [Applications] kmail2 Reporter: Sergey Y. Afonin <asy>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: kvark, m.lincetto, zerg
Priority: NOR    
Version: 5.16.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Example of problem

Description Sergey Y. Afonin 2020-04-09 10:53:34 UTC
Created attachment 127404 [details]
Example of problem

SUMMARYSeveral of them are displayed and one is not
Some IMAP accounts doesn't show in account's list. 

STEPS TO REPRODUCE
Unfortunately I don't know how to guarantee to reproduce the problems anyway. I have some accounts on my IMAP server (Cyrus-IMAP, 2.5.15 now). Several of them are displayed and one is not.

OBSERVED RESULT
I only see one of the two IMAP accounts in the list (look to attachment).

EXPECTED RESULT
I should see both IMAP accounts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ALT Linux 8.0
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION
If I change the user name the account's name begins to display without any other changes. I found a similar topic on the forum but without an exact answer: https://forum.kde.org/viewtopic.php?f=215&t=138986
Comment 1 Sergey Y. Afonin 2020-04-09 16:57:40 UTC
I found the cause. It is the "Enable server-side subscriptions" checkbox which enabled by default in my case. The account turned out to be without subscriptions. Is it better to show these accounts maybe?
Comment 2 Massimiliano L 2021-03-15 08:26:38 UTC
Currently, the Account Assistant enables the "server side subscription" without prompting the user, this means that after the wizard the account *will not appear* by default. Although this is not strictly a bug, a change should be considered, either:
- not opting by default for the server side subscriptions;
- prompt the user for the choice;
- warn the user that there is no active subscription.
Comment 3 Dzmitry 2021-10-21 12:36:16 UTC
Having a similar issue. Messing around "server side subscription" doesn't help.
How do I even debug this? Where is any kind of logging indicating the decision making by KMail?
Comment 4 Dzmitry 2021-10-21 15:22:24 UTC
Turns out my issue was a mix of bug 404990 and bug 421664. Basically, "gmail" authentication method isn't properly supported. Switching to Plain made the account show up (thus resolving/working around this issue). I'm not seeing the actual email though, so going to look for where that was reported...