Bug 318924 - KMail failed to write to socket when sending mail with smtp server with SSL encryption
Summary: KMail failed to write to socket when sending mail with smtp server with SSL e...
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail2
Classification: Applications
Component: crypto (show other bugs)
Version: 4.10.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 12:49 UTC by fa
Modified: 2014-07-30 13:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
an extract of some errors/warnings from the xsessions-errors file. (3.05 KB, text/plain)
2013-04-26 12:52 UTC, fa
Details
the error in the dispatcher agent tab from akonadiconsole (177 bytes, text/plain)
2013-04-26 12:56 UTC, fa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fa 2013-04-26 12:49:23 UTC
I have problems with KMail when I want to send a mail with a smtp server which handles SSL encryption, a notification pops up saying that the transport failed, and writing to socket failed.

I give a try with thunderbird and the same settings for the smtp server with SSL and it works well. So the problem is with KMail or any related component but I do not know where or what search to solve this issue.

The first time, I used the account wizard. The second time, I decided to configure the smtp server manually after having removed it. So I have gone to settings > Configure KMail > Accounts > sending tab > and I add the smtp server with this settings : encryption SSL on port 465 (like thunderbird was set), authentication plain, server requires authentication checked (with my correct login/password). 

The smtp server is not my own server, so I do not have any access to the server logs unfortunately. The owner is a well known french mail service : laposte.net

I run into this issue on both KDE 4.9.5 on Kubuntu 12.04 and on KDE 4.10.2 on Kubuntu 13.04.


Reproducible: Always

Steps to Reproduce:
1.Configure a smtp server with SSL encryption on port 465 with authentication
2.Send a mail with this smtp server

Actual Results:  
The mail is not sent, the transport and writing to the socket failed

Expected Results:  
The mail is sent !
Comment 1 fa 2013-04-26 12:52:12 UTC
Created attachment 79461 [details]
an extract of some errors/warnings from the xsessions-errors file.
Comment 2 fa 2013-04-26 12:56:30 UTC
Created attachment 79462 [details]
the error in the dispatcher agent tab from akonadiconsole

I ran the akonadiconsole using the debbuger tab, there is only one error in the dispatcher agent tab, the rest seems ok.
Comment 3 Allen Winter 2013-04-29 13:21:45 UTC
just for grins...

what happens when you configure the account dialog and go to the Advanced tab,
press the autodetect button.  does it show ssl or tls or something else?
Comment 4 fa 2013-04-29 13:31:53 UTC
Once the auto detect button pressed, the settings are:
the SSL box is checked
Port : 465 
Authentication : PLAIN

The same as I set before.
Comment 5 Henning Voss 2013-07-03 18:22:38 UTC
Same Problem here
Comment 6 fa 2014-07-30 13:10:30 UTC
Sorry for the delay. In fact it is not a bug... It is my fault, I did not selected the good identity when I composed a mail... Shame on me...