SNI support in `mail` context (fixed formatting)

Denis Sh. denok at
Mon Jul 6 17:17:31 UTC 2020


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:
returns the server name requested through SNI (1.7.0);

I don't see these vars defined here

Or should I use `stream` to proxy mail?

Any ideas?


More information about the nginx mailing list