Multisites and SSL for mail

4 posts / 0 new
Last post
#1 Thu, 01/26/2017 - 05:07
gatean25

Multisites and SSL for mail

Hi again,

now I'm able to retrieve and send emails with my domains I'm facing an issue with SSL certificates.

I've created 2 domains with SSL from Let's encrypt for each. I've copied both to Dovecot using the copy button . If I look into the /etc/postfix/master.cf file both certificates are references on the good IP (for each domain attached to it owns IP address).

But when I try to access to the email account from an email client only the last copied certificate is proposed. So the other domain get an SSL warning due to a certificate not related to its domain.

How can I fix this ? I want to be able to have an SSL certificate for each site (this part is working well) but also the corresponding SSL certificate used for emails.

Thansk in advance.

Thu, 01/26/2017 - 06:50
Diabolico
Diabolico's picture

You can have only one SSL per mail server so last SSL copied will be the one used for emails. Best to use neutral domain for such things (email, webmin, etc.) and then set separate SSL for each domain for https.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Thu, 01/26/2017 - 07:52 (Reply to #2)
gatean25

Thank for your answer. But what about the Multiple SSL certificates configuration supported by Dovecot (http://wiki2.dovecot.org/SSL/DovecotConfiguration) ?

Thu, 01/26/2017 - 13:04
Diabolico
Diabolico's picture

It can be set manually but not sure Virtualmin support such function. You should wait for Vm dev to jump in and share some light.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Topic locked