imap proxy?

Georgi Hristozov georgi at
Sat Aug 22 09:54:27 MSD 2009

On Sat, Aug 22, 2009 at 3:40 AM, Brian Henson<bhenson at> wrote:
> Can someone give me an example of how to do an IMAP and POP3 proxy in nginx.
>  What i need to do is send all requests for to one server and
> all requests for to another.  I have read the examples on the
> wiki but I do not understand them.  I have a working HTTP and HTTPS install
> now and would like to further secure my servers.  Any help would be
> appreciated
> Brian.


I don't think that the IMAP protocol has something like the "Host"
header in HTTP. In other words, the proxy cannot figure out which
domain the user is trying to access. So you have to bind two different
proxies on two separate IP addresses.

More information about the nginx mailing list