That is an ssl imposibility, and the current tls clients can't really
do that either. The best way to do it is to use seperate ip's for
mail1 and mail2.
The only other option is to use a new certificate with
subject-alt-names, but lots of email clients don't support that.
Webbrowsers have for a long time now, but email is completely different.
Quoting ????????? ??????????? <dim...@thessaloniki.gr>:
Hi there!
I have two DNS records
mail1.domain.tld
mail2.domain.tld
I have issued SSL server Certificates for both my domain names.
Is it possible to tell dovecot to use both , depending on
client access;
clients using the mail1.domain.tld be served by the mail1.domain.tld
.key and .cert
and those using mail2.domain.tld be served by the mail2.domain.tld
.key and .cert
Thanks in advance
Dimitrios