imap proxy?

Brian Henson bhenson at
Sat Aug 22 11:36:06 MSD 2009

Georgi Hristozov wrote:
> 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.
> Hi,
> 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.

    I know you can separate it by the letter it starts with. (fastmail 
does this)  If there was a host header or some variation there of it 
would be nice.  can i get a definite answer from someone who has used 
the imap proxy please?  the docs are incomplete on the features. 



More information about the nginx mailing list