Skip to content

Possible problem with TLS and SMTP causing timeout in curl 8.12 #16189

@MonkeybreadSoftware

Description

@MonkeybreadSoftware

I did this

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?

I expected the following

SMTP with STARTTLS should work.

curl/libcurl version

curl 8.12.0

operating system

macOS. Also on happens on Windows.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions