Cert Hostname DOES NOT VERIFY

Operating system: CentOS
OS version: 7

ello

I am getting this error on //email/testTo:

Cert Hostname DOES NOT VERIFY (mx4.abc.in != webmail2.abc.in | DNS:webmail2.abc.in | DNS:www.webmail2.abc.in)

So email is encrypted but the host is not verified.

What does it means and how to solve it? even my TLS is also not working, On Gmail red lock is showing abc.in did not encrypt this message. but my hostname is webmail2.abc.in why it’s showing abc.in. my abc running on different server with different IP, and my webmail2.abc.in running on different server/ip, please help me on this error.

Virtualmin version: 6.16

Webmin version: 1.974