Before i post this issue, i`ve tried all best my knowledge. My server setup :
. Ubuntu 20.04 LTS
. Hestiacp 1.4.14
. Exim 4.93
. Dovecot 2.3.7.2
SSL Using Public SSL Wildcard. Configuration SSL Successful. and web server running.
incoming mail always late but outgoing always shown error but sent to the aim.
Exim error :
TLS error on connection from [xxx.xxx.xxx.xxx] (cert/key setup: cert={/usr/local/hestia
/ssl/certificate.crt} key={/usr/local/hestia/ssl/certificate.key}): Error while reading file.
Dovecot Error :
Disconnected (no auth attempts in 0 secs): user=<>, TLS handshaking: SSL_accept() failed: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown: SSL alert
Found this topic,
But solution is using Letsencrypts.
I need to try without letsencrypt first because i`ve own Public SSL.
it will generate crt and key, so, i copy my ssl with same directory that crt.
owner : root
group : mail
Small impact big changes.
editing /etc/exim4/conf.d/main/03_exim4-config_tlsoptions and adding the following:
MAIN_TLS_ENABLE = yes
Second, configure Exim4 to use the saslauthd for authentication by editing /etc/exim4/conf.d/auth/30_exim4-config_examples and uncomment the plain_saslauthd_server and login_saslauthd_server sections: