Summary
Team Edition 10.0.1 server works well with this configuration
"EmailSettings": {
"EnableSMTPAuth": true,
"SMTPUsername": "mattermost",
"SMTPPassword": "***",
"SMTPServer": "mail.***.ru",
"SMTPPort": "465",
"SMTPServerTimeout": 10,
"ConnectionSecurity": "TLS",
"SkipServerCertificateVerification": true
}
After installing version 10.1.* got this error:
{"timestamp":"2024-10-25 13:21:53.750 Z","level":"error","msg":"Connection unsuccessful: unable to connect to the SMTP server through TLS: remote error: tls: handshake failure","caller":"web/context.go:124","path":"/api/v4/email/test","request_id":"b67i1rhhfpyspfnziux1nhd5fw","ip_addr":"127.0.0.1","user_id":"qjyjbf5o7ifp8pf9pr1kanhp9r","method":"POST","err_where":"testEmail","http_code":500,"error":"testEmail: Connection unsuccessful: unable to connect to the SMTP server through TLS: remote error: tls: handshake failure"}
Reverting to 10.0.1 fixed issue.
Steps to reproduce
Install MM 10.1.2 self-hosted team edition. Setup SMTP with TLS as shown above and click Test Connection
in client system console.