Dovecot Multi subdomain SSL Cert


Im facing the problem that i want to add multi sub domains to Dovecot’s SSL config.

Virtualmin does this by adding a SSL cert per domain and their default sub domains e.g. autoconfig and autodiscover.

local_name autodiscover.domain.tld {
ssl_cert = </var/www/vhosts/domain/ssl.cert
ssl_key = </var/www/vhosts/domain/ssl.key

Above is only done for the default domain and the following subdomains.




My question is that i want to add multiple sub domains with their SSL cert in dovecot.

I want this to do by editing a Server Template so that up-on creating a Virtual Server this is added automatic to dovecot

But i didn’t find such settings


~ Joe Doe.