mail.domain.com smtp and imap not using installed SSL certificates

hot_mandu

Verified User
Joined
Jul 3, 2020
Messages
7
Hi there everyone.

I have installed the letsencrypt module to create SSL Certificates for three subdomains:
mail.domain.com
smtp.domain.com
imap.domain.com

dovecot and exim are however, not using these letsencrypt certificates. Opening roundcube on either of these domains shows that the letsencrypt SSL Certificate is being used, but configuring my mail server using these domains in for example the outlook mail client produces an error that mentions that the server you're connecting to is using an untrusted certificate, which, when viewed, points to a self signed localhost certificate.

I checked in the dovecot mail.domain.com.conf config file aswell as the exim.cariables.conf and they seem to be pointing to the correct certificate file.

Does anyone here have had the same problem and is there a guide or manual that points me into the right direction on how to correctly configure this?

Thanks in advance.
 
Do you have
Code:
mail_sni=1
in directadmin config ?

and build it all again :

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set exim yes
./build set eximconf yes
./build set eximconf_release 4.5
./build update
./build exim
./build exim_conf
./build dovecot
./build dovecot_conf
 
Do you have
Code:
mail_sni=1
in directadmin config ?

and build it all again :

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set exim yes
./build set eximconf yes
./build set eximconf_release 4.5
./build update
./build exim
./build exim_conf
./build dovecot
./build dovecot_conf

A little late on my reply but:
Thanks for your help; that fixed my problem!
 
Back
Top