Nginx SMTP relay access denied!

2019-12-20 Thread shahzaib mushtaq
Hi, We've setup NGINX SMTP proxy in front of postfix. When i try to telnet to nginx smtp on port 25 it shows the "relay access denied" message.: https://pastebin.com/JF4TVqBw Here is the config of nginx: mail { server_name mail.domain.com; auth_http localh

NGINX SMTP!

2019-12-18 Thread shahzaib mushtaq
Hi, We want to achieve following with nginx smtp, please let me know if that's possible and can you help me with that ? 1) Our software will connect to NGinx on port 25 and will authenticate with the NGinx in the same manner as it would to SMTP Server. 3) NGinx should then authenticate ag

Re: nginx smtp proxy

2019-05-14 Thread Patrick
On 2019-05-14 07:14, Scott Clark wrote: > Is it possible to get the smtp proxy to make outbound connections on a > specific IP address? That doesn't appear be supported yet. A workaround is to SNAT the connections to the upstream mail servers. Normally, this isn't an issue since nginx is the fron

nginx smtp proxy

2019-05-14 Thread Scott Clark
Hi There, Is it possible to get the smtp proxy to make outbound connections on a specific IP address? Trying to use proxy_bind x.x.x.x but where ever I put it in the mail config I get: nginx: [emerg] "proxy_bind" directive is not allowed here mail { # Pass any error message from the remote

Re: How to pass connection's real IP through Nginx smtp proxy to Postfix/postscreen backend?

2018-06-21 Thread Frank Liu
Try proxy protocol. On Thu, Jun 21, 2018 at 12:47 PM, wrote: > I run Postfix 3.3.1 & Nginx 1.15.0 > > Both work great. > > I'm beginning to experiment with putting Postfix (and eventually other) > server behind Nginx (v 1.15.0) setup as a mail (SMTP) proxy. > > Without the proxy, Postfix logs sh

How to pass connection's real IP through Nginx smtp proxy to Postfix/postscreen backend?

2018-06-21 Thread cyang
I run Postfix 3.3.1 & Nginx 1.15.0 Both work great. I'm beginning to experiment with putting Postfix (and eventually other) server behind Nginx (v 1.15.0) setup as a mail (SMTP) proxy. Without the proxy, Postfix logs show an inbound connection to my real IP Jun 21 12:12:31 mailprox pos

Re: Nginx - SMTP no authentication

2015-03-27 Thread dominus.ceo
I'm in the same situation. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,12609,257723#msg-257723 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

outbound emails are not sent via nginx smtp proxy

2014-04-16 Thread cybermass
All emails ending at the destination note the sender as the actual backend and not nginx proxy. How can I force smtp outbound through nginx? I tried smtp_bind_address = proxy.ip.addr in main.cf for postfix. And tried adding an SNAT rule in iptables to route through the proxy with no luck. Any advic

Re: Nginx - SMTP no authentication

2013-03-21 Thread tstianzy
I also have this problem, when I use externet domain mail account send mail to me, it display "530 5.7.1 Authentication required". can you help me ? thanks Posted at Nginx Forum: http://forum.nginx.org/read.php?2,12609,237663#msg-237663 ___ nginx mail