Mail Proxy with Multiple Mail Domains

Patrick 201904-nginx at jslf.app
Thu Nov 14 00:37:11 UTC 2019


On 2019-11-13 20:00, nsclick at gmx.de wrote:
> I would like to setup a Nginx mail proxy which handles IMAP and SMTP for two different mail domains and two different backend servers (one server for each of the domains).

The docs have a good example at:
https://www.nginx.com/resources/wiki/start/topics/examples/imapauthenticatewithapacheperlscript/

Users need to login with "username at foo.com" or "username at bar.com"
otherwise name collisions will occur...

`Auth-User' will have the username, so match on the domain part to route
the user to the correct server.


Patrick


More information about the nginx mailing list