SNI support in `mail` context (fixed formatting)
denok at yandex.com
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 https://github.com/nginx/nginx/blob/829c9d5981da1abc81dd7e2fb563da592203e54a/src/mail/ngx_mail_ssl_module.c#L229
Or should I use `stream` to proxy mail?
More information about the nginx