Page 2 of 2

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

Posted: Sun Jan 22, 2023 4:12 am
by dicarsio
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?

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

Posted: Sun Jan 22, 2023 12:04 pm
by myVesta
Thank you very much, I think HestiaCP has similar solution, we planned to use that, because we are basically the same panel.