Re: SSL support for SMTP and IMAP for mail.somedomain.com
Posted: Sun Jan 22, 2023 4:12 am
Hi,
Wanted to throw the idea here, but if you add dynamic support for the SNI on Exim, should be able to add SSL for IMAP:
I believe the only issue may be permissions, that need to be given to exim, but should automatically add support for the domain, if we have the key generated for the domain/subdomain (eg mail.somedomain.com).
Maybe you could implement on the next version?
Wanted to throw the idea here, but if you add dynamic support for the SNI on Exim, should be able to add SSL for IMAP:
Code: Select all
./exim4.conf.template:39:tls_certificate = ${if exists{/usr/local/vesta/ssl/${tls_sni}.pem}{/usr/local/vesta/ssl/${tls_sni}.pem}{/usr/local/vesta/ssl/certificate.crt}}
./exim4.conf.template:40:tls_privatekey = ${if exists{/usr/local/vesta/ssl/${tls_sni}.key}{/usr/local/vesta/ssl/${tls_sni}.key}{/usr/local/vesta/ssl/certificate.key}}
Maybe you could implement on the next version?