Gmail has changed how they check certificates and email sent via SMTP bounce back with the following error:
“You’re sending this from a different address or alias using the ‘Send mail as’ feature. The settings for your ‘Send mail as’ account are misconfigured or out of date. Check those settings and try resending.
The response was:
TLS Negotiation failed, the certificate doesn’t match the host.”
I set up SMPT Server in Gmail as mail.mydomain.com on port 587.
That is no longer working because it appears that mail.mydomain.com does not match the email host email@mydomain.com
More info about it are here
https://support.google.com/mail/thread/39390661?hl=en
anyone else experiencing the same issue
CentOS Linux 7.7.1908
Virtualmin 6.08
----solution----
I requested new certificate from Virtualmin UI and manually included mail.mydomain.com. After a short while emails started to work again.