Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
Possible problem with TLS and SMTP causing timeout in curl 8.12?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Christian Schmitz via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 5 Feb 2025 16:42:16 +0100
Hello,
So I connect with CURL 8.12 and I see this output:
curl -k --ssl -v "smtp://sslout.xxx.eu:25"
...
* Connected to sslout.xxx.eu (xxx) port 25
* server response timeout
* closing connection #0
curl: (28) server response timeout
So we get a timeout as EHLO is not sent.
Doing the same with
curl -k -v "smtps://sslout.df.eu:465"
Shows this:
...
* Connected to sslout.xxx.eu (xxx) port 465
< 220 smtprelay06.xxx.xx ESMTP dfex
> EHLO MyMac
< 250-smtprelay06.xxx.xx Hello MyMacM3 [xxx]
And using the first variant with command line tool using older curl version, I see
* SSL certificate verify ok.
> EHLO MyMac
< 250-smtprelay08.xxx.xx Hello MyMacM3 [xxx]
So for some reason I don't see yet, we don't get to the state when to send EHLO.
Has anyone seen this?
Best regards,
Christian
Date: Wed, 5 Feb 2025 16:42:16 +0100
Hello,
So I connect with CURL 8.12 and I see this output:
curl -k --ssl -v "smtp://sslout.xxx.eu:25"
...
* Connected to sslout.xxx.eu (xxx) port 25
* server response timeout
* closing connection #0
curl: (28) server response timeout
So we get a timeout as EHLO is not sent.
Doing the same with
curl -k -v "smtps://sslout.df.eu:465"
Shows this:
...
* Connected to sslout.xxx.eu (xxx) port 465
< 220 smtprelay06.xxx.xx ESMTP dfex
> EHLO MyMac
< 250-smtprelay06.xxx.xx Hello MyMacM3 [xxx]
And using the first variant with command line tool using older curl version, I see
* SSL certificate verify ok.
> EHLO MyMac
< 250-smtprelay08.xxx.xx Hello MyMacM3 [xxx]
So for some reason I don't see yet, we don't get to the state when to send EHLO.
Has anyone seen this?
Best regards,
Christian
-- Read our blog about news on our plugins: http://www.mbsplugins.de/ -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2025-02-05