0

When using the Nginx Mail Proxy feature to realize an SMTP proxy, there are several options available to configure (start)tls between the client and the proxy.

However, it appears between the proxy and the upstream SMTP server, only 'plain' SMTP is supported, and there is no way to enable either STARTTLS or regular TLS.

Can anyone confirm this? Or is there a way to securely connect (and authenticate) to the upstream SMTP server?

  • I setup a nginx mail proxy that I want clients to connect without encryption and then the proxy to connect to real mail server using TLS or SSL. Did you found out if Nginx support it? – Christos Chatzaras Feb 22 '23 at 19:44

1 Answers1

0

If this is indeed not possible using just Nginx, I since successfully combined it with stunnel to achieve the desired result.