SMTP Forward Nginx Proxy

Maxim Konovalov maxim at nginx.com
Tue Feb 26 12:13:23 UTC 2019


On 26/02/2019 14:46, prasad.walke at freshgravity.com 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


More information about the nginx mailing list