[prev in list] [next in list] [prev in thread] [next in thread]
List: nginx
Subject: Re: SMTP Forward Nginx Proxy
From: "itpp2012" <nginx-forum () nginx ! us>
Date: 2015-11-26 14:14:07
Message-ID: 6ea737005aee36e78c72ac6c78952867.NginxMailingListEnglish () forum ! nginx ! org
[Download RAW message or body]
Maxim Dounin Wrote:
-------------------------------------------------------
> For your particular task, it may be easier to configure raw TCP
> proxy to a particular 3rd party SMTP server (e.g., using nginx
> stream proxy,
> http://nginx.org/en/docs/stream/ngx_stream_core_module.html)
> or a full-featured STMP server with a smarthost configured.
Simple example 2 interfaces balanced backend limited to a vlan routed
gateway:
stream {
error_log logs/stream_error_smtp.log;
upstream backendsmtp {
server 192.168.28.21:25;
server 192.168.28.22:25;
server 192.168.28.23:25;
}
server {
listen 25;
proxy_connect_timeout 30s;
proxy_timeout 30s;
proxy_pass backendsmtp;
allow 192.168.29.1;
deny all;
}
}
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263084,263099#msg-263099
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic