Bug 419751 - sudden SSL handshake: error when sending email
Summary: sudden SSL handshake: error when sending email
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 5.11.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-06 18:44 UTC by what
Modified: 2020-04-30 08:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description what 2020-04-06 18:44:05 UTC
SUMMARY

I was able to send emails with Kmail just a few days ago, but now I cannot send any as the error message below appears.

STEPS TO REPRODUCE
1. send an email


OBSERVED RESULT

email is not sent and the following error appears:

Failed to transport message. Error during SSL handshake: error:1408F10B:SSL routines:ssl3_get_record:wrong version number 


EXPECTED RESULT

email to be sent

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 9.10
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
Comment 1 what 2020-04-06 18:51:00 UTC
this is an IMAP server btw
Comment 2 Christophe Marin 2020-04-07 07:38:37 UTC
This message indicates the server doesn't return a valid answer. Without even the server name, nothing can be done.
Comment 3 what 2020-04-07 08:36:11 UTC
how can I access more detailed logs?
server name is mail.mymail.cat,
Comment 4 Christophe Marin 2020-04-07 11:31:26 UTC
(In reply to what from comment #3)
> how can I access more detailed logs?
> server name is mail.mymail.cat,

Which port are you using?

# openssl s_client -connect 78.47.242.109:143 -servername mail.mymail.cat
CONNECTED(00000003)
140136887231744:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331:

but it works with eg. 443 or 993.

In the IMAP account settings, "advanced" tab, press the "auto detect" button
Comment 5 what 2020-04-07 12:27:00 UTC
cheers Christophe, the error is gone after adjusting the ports but the email is still not being sent. It sits in the outbox local folder and right clicking + send queued messages does nothing.

Is there a log I can look at?
Comment 6 what 2020-04-07 17:01:37 UTC
rebooted and a new error appears..

Failed to get D-Bus interface of mailfilteragent.
Comment 7 what 2020-04-13 08:44:09 UTC
oddly enough when I compose the email while browsing on any subfolder other than the main Inbox the email is successfully sent, which suggests this bug is related to https://bugs.kde.org/show_bug.cgi?id=419752 as they both appeared at the same time