How can I make dovecot use the correct certificate for each host?
.
TLS 1.0 , Server Name Indication (SNI). Dovecot , , .
/ OpenSSL s_client. , "" :
openssl s_client -tls1 -starttls smtp -connect mail.example.com:587 -servername mail.example.com
Dovecot , example.com SSL/TLS. , STARTTLS , Dovecot , RCPT . RCPT , Dovecot / .
"" . SSLv3, SNI (SNI - TLS):
openssl s_client -ssl3 -starttls smtp -connect mail.example.com:587
"" . TLS 1.0, SNI:
openssl s_client -tls1 -starttls smtp -connect mail.example.com:587
// Wireshark. SNI ClientHello. , , , , SNI, . SSL/TLS - ( ). , Finished.
SSLv2/SSLv3 TLS, . SNI. Windows XP - TLS 1.0, SNI. , , .
- "-". , DNS-, . SAN DNS:3und80.de, DNS:ohmygodpresents.co.uk, DNS:example1.com .. , , .