Hostname does not match the server certificate

log:
Delivered mail 3a7dfa65-974f-4e36-a620-364ef391e53a@talk.wilycraft.xyz (63.9ms)
Job exception: hostname “smtp.wilycraft.xyz” does not match the server certificate

Telnet:

How can I try to solve this problem?

Without looking closely at the logs I believe that you need to access the mail server by its actual name rather than the one you’re using. If you maintain that machine you can fix it.

It should announce its name when you first connect.

Or perhaps it’s certificate really is broken.

1 Like

I had the same problem but i didn’t know how to do it…
I finally solved it by deactivating starttls with
DISCOURSE_SMTP_ENABLE_START_TLS: false

2 Likes