Re: Mail Proxy with Multiple Mail Domains

2019-11-14 Thread Francis Daly
On Wed, Nov 13, 2019 at 08:00:58PM +0100, nscl...@gmx.de wrote: Hi there, Untested, but... > 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 easiest way is pr

Re: Mail Proxy with Multiple Mail Domains

2019-11-13 Thread Phillip Odam
The only issue we encountered using the nginx Mail auth api was in finding out what encoding is used for the header values. In Java we currently use the following to decode the password password = URLDecoder.decode(password.replaceAll("\\+", "%2b"), "UTF-8"); My understanding is that nginx encode

Re: Mail Proxy with Multiple Mail Domains

2019-11-13 Thread Patrick
On 2019-11-13 20:00, nscl...@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

Mail Proxy with Multiple Mail Domains

2019-11-13 Thread nsclick
Hello,   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). Let's say we have the two mail domains: - mail.foo.com - mail.bar.com   Then we can setup a minimalistic mail bloc