Hello,
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?
Kind regards,
Christos Chatzaras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230222/2e9631f5/attachment.htm>
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
> Short answer is no. The proxy_ssl_* family directives are available
> for ngx_http_proxy and ngx_stream_proxy modules only.
>
> --
> Sergey A. Osokin
Thank you for the reply. Finally I did it by combining the Nginx mail proxy with multiple Stunnels.
On Thu, Feb 23, 2023 at 12:03:15AM +0200, Christos Chatzaras wrote:
>
> > Short answer is no. The proxy_ssl_* family directives are available
> > for ngx_http_proxy and ngx_stream_proxy modules only.
>
> Thank you for the reply. Finally I did it by combining the Nginx
> mail proxy with multiple Stunnels.
Thanks for sharing that, Christos.
--
Sergey A. Osokin