On 26/02/2019 14:46, [email protected] wrote: > I would like to setup an nginx configuration which accepts SMTP connections > to it and then proxies them to another IP address (the third-party SMTP > service) so the requests to the mail server always appear to the third-party > SMTP service as if they came from the same server. > > Is it possible to solve this issue with ngingx smtp proxy? > It is possible with the stream module and proxy_bind transparent.
The configuration could be non-trivial though: https://www.nginx.com/blog/ip-transparency-direct-server-return-nginx-plus-transparent-proxy/ -- Maxim Konovalov _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
