Maxim Konovalov
February 26, 2019 07:14AM
On 26/02/2019 14:46, prasad.walke@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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

SMTP Forward Nginx Proxy

chobit November 25, 2015 05:27PM

Re: SMTP Forward Nginx Proxy

Maxim Dounin November 26, 2015 08:52AM

Re: SMTP Forward Nginx Proxy

itpp2012 November 26, 2015 09:14AM

Re: SMTP Forward Nginx Proxy

Igor Sysoev February 26, 2019 06:54AM

Re: SMTP Forward Nginx Proxy

Maxim Konovalov February 26, 2019 07:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 137
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready