Nginx mail proxy and TLS connection to the real mail server

Sergey A. Osokin osa at freebsd.org.ru
Wed Feb 22 21:35:30 UTC 2023


Hi Christos,

On Wed, Feb 22, 2023 at 10:04:34PM +0200, Christos Chatzaras wrote:
> 
> I setup a Nginx mail proxy and I would like mail clients to
> connect to it without TLS and then the Nginx proxy to connect
> to the real mail server using TLS.
> 
> Is this possible?

Short answer is no.  The proxy_ssl_* family directives are available
for ngx_http_proxy and ngx_stream_proxy modules only.

-- 
Sergey A. Osokin


More information about the nginx mailing list