Bug 389403 - KMail cannot connect to SMTP server that does not support TLS <1.2
Summary: KMail cannot connect to SMTP server that does not support TLS <1.2
Status: RESOLVED DUPLICATE of bug 394770
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.7.1
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-25 08:25 UTC by Pavel
Modified: 2018-06-30 14:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***