Closed fosmjo closed 7 months ago
Thanks for the report, I will investigate this.
I've solved the problem. According to go1.22 release notes, crypto/tls
no longer offers cipher suites that don't support ECDHE, and our mail server only supports cipher suites that support RSA, the TLS handshake failed. One of the solutions is to add support for RSA cipher suites with the tlsrsakex=1 GODEBUG
setting, another one is to add cipher suites that support RSA manually by using tls.Config
.
Perfect @fosmjo! I will pin this issue to inform other devs. Thanks for the research!
I'm using v2.16.0 with go 1.22.0. An error occurred when I call
SMTPServer.Connect()
, here is the error message:It works with go 1.21.6.