I can receive emails from my server via Gmail, but I cannot send emails as this address. The webmail works fine to receive emails and send them to Gmail. So why can’t Gmail send as?
I receive this error in Gmail:
Authentication failed. Please check your username/password.
Server returned error: “TLS Negotiation failed, the certificate doesn’t match the host., code: 550”
I have upgraded CyberPanel to the latest version. I have reissused SSL certificates to my main domain and to mail.domain, but it has not helped.
I am using mail.thedaoofdragonball.com
Username: my email
Password: the same password I use to log-in to webmail, which works
I have tried every combination of Port number and SSL/TLS, without success.
Here are the test results from //email/testTo:
MX Server Pref Answer Connect HELO TLS Cert Secure From MTASTS DANE Score
[126.96.36.199:25] 10 OK
(40ms) FAIL OK
(70ms) not tested not tested 112.00
Average 100% 100% 100% 100% 0% 100% 100% 112
Certificate #1 of 4 (sent by MX):
Cert VALIDATED: ok
Cert Hostname DOES NOT VERIFY (ezmail.mail.thedaoofdragonball.com != mail.thedaoofdragonball.com | DNS:mail.thedaoofdragonball.com | DNS:www.mail.thedaoofdragonball.com)
So email is encrypted but the host is not verified
Not Valid Before: Jan 10 02:12:39 2023 GMT
Not Valid After: Apr 10 02:12:38 2023 GMT
issuer: /C=US/O=Let’s Encrypt/CN=R3
In another program I receive the following error:
Test Connection Failed!
Error : Connection could not be established with host mail.thedaoofdragonball.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
The weirdest part is that it was working for 3 months, from Sept. 17, 2022, but then it stopped in late December, 2022. I figured that if I reissued the SSLs that it would start working again, but that didn’t fix it.
When reissuing SSLs to get email working, should I issue one on my domain.com AND on mail.domain.com, or just one or the other?
Does this issue have anything to do with the ezmail.mail subdomain? I do not have this subdomain in my CyberPanel, but it seems to be looking for it.
- Edited to remove a : from a URL.