#1036442 kmail: TLS error message when receiving mail.

Package:
kmail
Source:
kmail
Description:
full featured graphical email client
Submitter:
Bob Hauck
Date:
2023-05-20 23:39:02 UTC
Severity:
normal
#1036442#5
Date:
2023-05-20 22:16:49 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

	Installed a new bookworm with KDE an an N100 NUC.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

	Configured exactly the same email server that I have on another
	machine with the same settings. Note that these settings work on
	a machine running bookworm that was upgraded from bullseye.

	Initially kmail downloaded my mailboxes but on subsequent logins
	it gives an error message on startup and whenever I check mail.

	Korganizer works fine.

   * What was the outcome of this action?

	Erorr notifcation saying: Resource bobh@haucks.org is broken.
	You requested TLS/SSL to connect to mail.haucks.org, but your system
	does not seem to be set up for that.

   * What outcome did you expect instead?

	Receiving mmail.

#1036442#10
Date:
2023-05-20 23:26:32 UTC
From:
To:
I am also seeing this error in the journal when I check mail in kmail:

kalendarac[20390]: org.kde.pim.imapresource: Crypto not supported!

That traces back to kdepim-runtime-22.12.3/resources/imap/sessionpool.cpp:

if (m_account->encryptionMode() != KIMAP::LoginJob::Unencrypted && !QSslSocket::su pportsSsl()) {
       qCWarning(IMAPRESOURCE_LOG) << "Crypto not supported!";
       Q_EMIT connectDone(EncryptionError,
                          i18n("You requested TLS/SSL to connect to %1, but your "
                               "system does not seem to be set up for that.",
                               m_account->server()));
       disconnect();
       return;
   }

So I guess somehow Qt is thinking I don't have SSL installed, but I do.

ii  libssl3:amd64                                 3.0.8-1                        amd64
       Secure Sockets Layer toolkit - shared libraries
ii  libxmlsec1-openssl:amd64                      1.2.37-2                       amd64
       Openssl engine for the XML security library
ii  openssl                                       3.0.8-1                        amd64
       Secure Sockets Layer toolkit - cryptographic utility



Again, this is a fresh install using the RC3 netinstall ISO. I selected "KDE Desktop" in the task list.