Welcome! Log In Create A New Profile

Advanced

nginx smtp proxy

Scott Clark
May 14, 2019 03:16AM
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 server
proxy_pass_error_message on;
server {
listen 125;
protocol smtp;
smtp_auth none;
auth_http 127.0.0.1:8008/auth-smtp.php;
auth_http_header default-server 127.0.0.1;
xclient off;
}
}

I don't see the proxy_bind directive listed in:
http://nginx.org/en/docs/mail/ngx_mail_core_module.html
http://nginx.org/en/docs/mail/ngx_mail_proxy_module.html
http://nginx.org/en/docs/mail/ngx_mail_smtp_module.html

Any ideas how to achieve this?

Thanks

Scott
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx smtp proxy

Scott Clark May 14, 2019 03:16AM

Re: nginx smtp proxy

Patrick May 14, 2019 03:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 187
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready