SSL support for SMTP and IMAP for mail.somedomain.com

dicarsio
Posts: 1
Joined: Sun Jan 22, 2023 4:05 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:

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}}
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?

Tags:
User avatar
myVesta
Site Admin
Posts: 765
Joined: Fri Jun 19, 2020 9:59 am

Thank you very much, I think HestiaCP has similar solution, we planned to use that, because we are basically the same panel.
Post Reply