Hi
It's possible that this question has been asked before, but I couldn't find it by Googling the problem and adding Direct Admin at the end of my search query.
So, previously I could set up email addresses on my server in gmail without any issue. I used Port 587 using TLS for sending emails and Port 995 for receiving emails with SSL on as explained here on this DA help page. Nowadays Google throws an error saying that Server returned error: "TLS Negotiation failed, the certificate doesn't match the host., code: 0". People on the internet say that this is a recent issue and it is because Google is using stricter security measures for certificate verification.
Is it possible to do something to make my server work with gmail as expected? I'm using a Cent OS 7.5 VPS with Direct Admin version 1.61.0 installed on it.
Edit: I think I have realized what is causing the problem. I use mail.clientdomain.com to set up my email accounts on gmail, but when I go to https://mail.clientdomain.com in a browser like Chrome or Firefox, it points to an SSL certificate for server.serverdomain.com (which is my hostname and the value of servername in my directadmin.conf). So, the question is: How can I set up exim and dovecot to use the correct SSL certificates for each user? Is that even possible?
It's possible that this question has been asked before, but I couldn't find it by Googling the problem and adding Direct Admin at the end of my search query.
So, previously I could set up email addresses on my server in gmail without any issue. I used Port 587 using TLS for sending emails and Port 995 for receiving emails with SSL on as explained here on this DA help page. Nowadays Google throws an error saying that Server returned error: "TLS Negotiation failed, the certificate doesn't match the host., code: 0". People on the internet say that this is a recent issue and it is because Google is using stricter security measures for certificate verification.
Is it possible to do something to make my server work with gmail as expected? I'm using a Cent OS 7.5 VPS with Direct Admin version 1.61.0 installed on it.
Edit: I think I have realized what is causing the problem. I use mail.clientdomain.com to set up my email accounts on gmail, but when I go to https://mail.clientdomain.com in a browser like Chrome or Firefox, it points to an SSL certificate for server.serverdomain.com (which is my hostname and the value of servername in my directadmin.conf). So, the question is: How can I set up exim and dovecot to use the correct SSL certificates for each user? Is that even possible?
Last edited: