SUMMARY I am no longer able to connect to my IMAP server with KMail. The IMAP server logs failed login attempts that contain no user name ("dovecot: imap-login: Disconnected (no auth attempts in 1 secs): user=<>"). All other clients that I tried *are* able to connect to the server (mutt [on the same workstation as KMail], Roundcube, K-9 mail). KMail used to work with this server for several years. Something happened. I did move the server to a different machine, but the setup is done with Ansible, so should be identical to the old machine, and again, the other mail clients have no problem connecting to the server. I completely removed kmail along with akonadi-server and other packages, and removed the data files from ~/.local/share and ~/.config. When I try to add the IMAP account to a fresh installation of KMail, the UI complains "Could not convert value of setting 'AccountIdentity' to required type." Terminal output: ``` $ kmail No text-to-speech plug-ins were found. org.kde.pim.akonadicore: not referenced 14 "QFormBuilder was unable to create a custom widget of the class 'KLineEdit'; defaulting to base class 'QLineEdit'." "QFormBuilder was unable to create a custom widget of the class 'KLineEdit'; defaulting to base class 'QLineEdit'." "QFormBuilder was unable to create a custom widget of the class 'KLineEdit'; defaulting to base class 'QLineEdit'." org.kde.pim.accountwizard: Did not find D-Bus method: "setAccountIdentity" available methods are: org.kde.pim.accountwizard: "destroyed(QObject*)" org.kde.pim.accountwizard: "destroyed()" org.kde.pim.accountwizard: "objectNameChanged(QString)" org.kde.pim.accountwizard: "deleteLater()" org.kde.pim.accountwizard: "_q_reregisterTimers(void*)" org.kde.pim.accountwizard: "_q_serviceOwnerChanged(QString,QString,QString)" org.kde.pim.accountwizard: Impossible to convert argument : QVariant(int, 1090336957) ``` SOFTWARE/OS VERSIONS KDE Plasma: KDE neon 5.18 user edition KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.68.0 Qt Version: 5.14.1
I set up a VirtualBox machine with a clean install of KDE neon and got the same enigmatic error message. Connecting to the IMAP server of a different e-mail provider works, so it is something specific to my setup (which does not make it any better for me...). What makes me wonder is that it used to work for several years. Something happened.
yep qt5.14.1 We create a fix for pim 5.14.0 will be release with kde 20.04 in some days.
Hi there, I've just run into this issue in the Kubuntu 20.04 beta release with Kontact Version 5.13.3 (19.12.3) and was wondering if you could point me at the fix so I can see if the maintainers are able to backport it into their release please? Thanks! Chris
It looks to me as if the fix mentioned here is to fix the secondary UI issue with Qt 5.14, not to fix the server communication issue in the 1st sentence of the SUMMARY?
I'd like to add that I am now also unable to add my university's IMAP server, I get the same error message as above. Another user reported a similar issue here: https://forum.kde.org/viewtopic.php?f=215&t=165472
I suspect this is a duplicate of https://bugs.kde.org/show_bug.cgi?id=400221 which I just mistakenly updated instead of this. It's an SSL issue (the IMAP server is not configured to use long enough DH keys).
The solution (for me) under Kubuntu 20.04 was to modify /etc/ssl/openssl.cnf after the line: oid_section = new_oids by adding: openssl_conf = default_conf [default_conf] ssl_conf = ssl_sect [ssl_sect] system_default = system_default_sect [system_default_sect] MinProtocol = TLSv1.2 CipherString = DEFAULT@SECLEVEL=1