Bug 495837

Summary: Failed to transport message. Error during SSL handshake: error:0A00010B:SSL routines::wrong version number
Product: [Applications] kmail2 Reporter: Ilgaz Öcal <ilgaz>
Component: cryptoAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 6.2.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: output of 'openssl s_client mail.ilgaz.gen.tr:443'

Description Ilgaz Öcal 2024-11-05 13:12:29 UTC
SUMMARY
Kmail complains about "wrong version number" while handshaking with smtp server.
Failed to transport message. Error during SSL handshake: error:0A00010B:SSL routines::wrong version number

STEPS TO REPRODUCE
1.  Create a mail
2. Send it
3. 

OBSERVED RESULT

Getting Failed to transport message. Error during SSL handshake: error:0A00010B:SSL routines::wrong version number

EXPECTED RESULT

Mail sending success

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241103
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-2-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7300U CPU @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: LENOVO
Product Name: 20L6S68A00
System Version: ThinkPad T480

ADDITIONAL INFORMATION

The mail server is mail.ilgaz.gen.tr , user ilgaz@ilgaz.gen.tr
Comment 1 Christophe Marin 2024-11-05 14:54:01 UTC
(In reply to Ilgaz Öcal from comment #0)
> SUMMARY
> Kmail complains about "wrong version number" while handshaking with smtp
> server.
> Failed to transport message. Error during SSL handshake: error:0A00010B:SSL
> routines::wrong version number
 
> The mail server is mail.ilgaz.gen.tr , user ilgaz@ilgaz.gen.tr

Does `openssl s_client mail.ilgaz.gen.tr:443` work if you run it locally?
Comment 2 Ilgaz Öcal 2024-11-05 15:04:36 UTC
(In reply to Christophe Marin from comment #1)
> (In reply to Ilgaz Öcal from comment #0)
> > SUMMARY
> > Kmail complains about "wrong version number" while handshaking with smtp
> > server.
> > Failed to transport message. Error during SSL handshake: error:0A00010B:SSL
> > routines::wrong version number
>  
> > The mail server is mail.ilgaz.gen.tr , user ilgaz@ilgaz.gen.tr
> 
> Does `openssl s_client mail.ilgaz.gen.tr:443` work if you run it locally?

It says "Verify return code: 0 (ok)" Attaching full log in case it is needed.
Comment 3 Ilgaz Öcal 2024-11-05 15:07:05 UTC
Created attachment 175551 [details]
output of 'openssl s_client mail.ilgaz.gen.tr:443'