On Tue, Jun 01, 2010 at 12:42:06PM -0500, /dev/rob0 wrote:
> Is SNI defined for SMTP yet? A quick Google search didn't find it.
> How would that work? The client would have to tell the hostname or
> domain name wanted before the STARTTLS?
SNI works entirely within SSL, the desired hostname is sent in the
client SSL HELLO. There is no need to define SNI for SMTP.
An MUA that implements SNI for submission, would send the SMTP server
name it expects to match. This case is easy.
An MTA delivering mail to an MX host faces a more complex choice,
because it may be willing to accept a variety of names. The best
choice would be to send the "nexthop" domain (typically the same
as the domain of the recipients), and the server will choose a
cert with that name if it has one, a cert for a sub-domain
otherwise, and the default cert if neither an exact match, nor
a sub-domain are available.
On the client side, we may need to a new policy table attribute to
allow the client administrator to specify an SNI name other than the
Anyway, this is not currently a high priority, if implemented, it would
largely be just Postfix talking to Postfix. I am not aware of any other
SMTP+STARTTLS implementations that support SNI.