Welcome! Log In Create A New Profile

Advanced

Re: Can Nginx route SMTP based on login credentials?

January 25, 2017 11:13AM
spockdude Wrote:
-------------------------------------------------------
> I have several users using the same mail host (smtp.example.com) to
> send outbound email using authentication. I would like to split it up
> into several outbound servers and assign specific users to specific
> mail servers without having to change the mail host information in
> each user's email client. Can Nginx do this or does it always just
> spread that traffic between all backend servers?


It seems this list is not very active, but I'll go ahead and answer my own question. It *does* appear that the above functionality is supported according to this page:

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.
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: 231
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