Mautic cant do SMTP/SartTLS
Mautic uses swiftmailer on php 7.1
Unable to connect with TLS encryption Log data: ++ Starting Swift_SmtpTransport << 220 mail.celpax.org >> EHLO get.celpax.com << 250-a48715e36c23 Axigen ESMTP hello 250-PIPELINING 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250-SIZE 10485760 250-STARTTLS 250-HELP 250 OK >> STARTTLS << 220 Ready to start TLS !!
However, when testing from the console we see:
openssl s_client -connect mail.celpax.org:587 -tls1_2 -starttls smtp
Verification OK
Start Time: 1619072229
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: yes
System Info reported is:
openssl
OpenSSL support enabled
OpenSSL Library Version OpenSSL 1.1.1d 10 Sep 2019
OpenSSL Header Version OpenSSL 1.1.1d 10 Sep 2019
Openssl default config /usr/lib/ssl/openssl.cnf
Directive Local Value Master Value
openssl.cafile no value no value
openssl.capath no value no value
Swiftmailer seems to be using TLS1.0 by default that it is mainly deprecated, however that does not explain the whole issue because enabling it temporarily at the server does not seem to resolve the issue.
More in Swiftmailer issue 598
Further more in php bug 73388