Bug 389403

Summary: KMail cannot connect to SMTP server that does not support TLS <1.2
Product: [Applications] kmail2 Reporter: Pavel <ao>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: andrius, dvratil
Priority: NOR    
Version: 5.7.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pavel 2018-01-25 08:25:16 UTC
I want to use SMTP server that is configured to use support TLS v1.2.
My system openssl library supports this (it successfully performs a test connection with 1.2 and fails with -tls1 option).
KMail for some reason tries to use TLS 1.0 (confirmed with Wireshark).

Is there any good reason it does that?
If not, please upgrade default TLS implementation.
Comment 1 Andrius Štikonas 2018-06-27 20:59:49 UTC
Hi, Pavel. There is no reason for that. I think I actually had TLSv1.2 support for some time, e.g. I made a few commits like
https://cgit.kde.org/kimap.git/commit/?id=38b75709018699cd4de33ba48265f16d0125ce97
(this one is for IMAP, but there a simialr one for SMTP too).

So I think somebody else introduced a regression somewhere.
Comment 2 Andrius Štikonas 2018-06-27 21:01:29 UTC
There are some commits that might possibly fix this

https://cgit.kde.org/kimap.git/commit/?id=b6c4ee82160da39ad7cff4c54360912f393aabd2

@Daniel, does TLSv.12 work with it?
Comment 3 Daniel Vrátil 2018-06-30 14:53:34 UTC

*** This bug has been marked as a duplicate of bug 394770 ***