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 protocol then that would be an option. > > Or they could just use HaProxy to begin with.
Eventually, my goal is my MTA, and other server apps, in on-demand apps. Not there yet, like I said just starting to expreiment. I did find some old comments in the mailing list, and more in the docs, that postscreen does NOT support XCLIENT. Then I read this too https://thehftguy.com/2016/10/03/haproxy-vs-nginx-why-you-should-never-use-nginx-for-load-balancing/ and switched to using haproxy instead. So far it seems to be working in front of my single instance of Postfix/Postscreen jsut fine, passing the "Real IP" through like I'd hoped. Now I need to watch it for awhile and see if I'm making *other* trouble for myself. Cy