How to pass connection's real IP through Nginx smtp proxy to Postfix/postscreen backend?

2018-06-21 Thread cyang
I run Postfix 3.3.1 & Nginx 1.15.0 Both work great. I'm beginning to experiment with putting Postfix (and eventually other) server behind Nginx (v 1.15.0) setup as a mail (SMTP) proxy. Without the proxy, Postfix logs show an inbound connection to my real IP Jun 21 12:12:31 mailprox pos

Re: How to pass connection's real IP through Nginx smtp proxy to Postfix/postscreen backend?

2018-06-22 Thread cyang
On Fri, Jun 22, 2018, at 10:26 AM, Wietse Venema wrote: > I can imagine several, and they involve running MTAs in disposable > VMs, containers, etc. behind a front-end that automatically routes > mail to disposable back-end servers that spin up or down as needed. > > If nginx supports HaProxy prot