SNI support in `mail` context

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SNI support in `mail` context

Denis Sh.
Hi!
 
So, when proxying SMTP/IMAP, is it possible to get the Server Name that mail clients send as a part of Client Hello?
 
Similar to Embedded Variables for ngx_http_ssl_module:
$ssl_server_name
returns the server name requested through SNI (1.7.0);
 
Or should I use `stream` to proxy mail? What about STARTTLS then, I still want to terminate TLS on NGINX.
 
Any ideas?
 
Thanks,
Denis
 

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx