Wildcard and multiple name support was added in 2.2.27.

Aki

On 20 October 2021 8.40.49 UTC, Alessio Cecchi <alessio@skye.it> wrote:

Hi,

in dovecot configuration the options "local_name" can support wildcard domain name (es. *.mailserver.com)?

This because we have a wildcard SSL certificate and I prefer to specifica a wildcard name instead of single.

Is fine this?

local_name *.mailserver.com {
 ssl_cert = </etc/dovecot/ssl/mailserver.com.pem
 ssl_key = </etc/dovecot/ssl/mailserver.com.key
}

And local_name can support multiple hostname in the same line?

local_name pop.mailserver.com imap.mailserver.com {
 ssl_cert = </etc/dovecot/ssl/mailserver.com.pem
 ssl_key = </etc/dovecot/ssl/mailserver.com.key
}

Thanks

-- 
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice