Welcome! Log In Create A New Profile

Advanced

Re: Can Nginx route SMTP based on login credentials?

Francis Daly
January 25, 2017 02:04PM
On Wed, Jan 25, 2017 at 11:13:16AM -0500, spockdude wrote:
> spockdude Wrote:

Hi there,

> > Can Nginx do this or does it always just
> > spread that traffic between all backend servers?

(There are no backend servers configured in nginx, for mail.)

> https://www.nginx.com/resources/admin-guide/mail-proxy/
>
> It says "If authentication is successful, the authentication server will
> choose an upstream server and redirect the request."
>
> If I'm understanding this correctly, I just need to create an authentication
> server that instructs Nginx which upstream server to send the request to
> based on the user's credentials.

Correct.

auth_http is documented at http://nginx.org/r/auth_http, which also
shows the authentication protocol.

nginx does not care how the authentication is done, or how the ip:port
to next connect to is chosen; it just connects to what it is told to by
the response of the auth_http request that it makes.

Cheers,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Can Nginx route SMTP based on login credentials?

spockdude January 20, 2017 04:33PM

Re: Can Nginx route SMTP based on login credentials?

spockdude January 25, 2017 11:13AM

Re: Can Nginx route SMTP based on login credentials?

Francis Daly January 25, 2017 02:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 209
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