SNI support in `mail` context (fixed formatting)
Denis Sh.
denok at yandex.com
Mon Jul 6 17:17:31 UTC 2020
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);
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?
Any ideas?
Thanks,
Denis
More information about the nginx
mailing list