Hostname does not match server certificate

The main server is misconfigured. It’s not a Discourse problem.

You should contact whoever runs your mail server and ask them for help.