reverse proxy imap

Igor Sysoev igor at sysoev.ru
Wed Feb 9 14:09:19 MSK 2011


On Wed, Feb 09, 2011 at 11:50:50AM +0100, vicosoft at gmail.com wrote:
> Imap works reverse proxy on port 143 successfully. With this setting.
> 
> File -> mailauth.pm:
> 
> package mailauth;
> use nginx;
> 
> sub handler {
>     my $r = shift;
>     $r->header_out("Auth-Status", "OK");
>     $r->header_out("Auth-Server", '172.18.1.9');
>     $r->header_out("Auth-Port", '143');
>     $r->send_http_header("Auth Plain", "text/html");
> #    warn 'H: ',$r->remote_addr;
>     return OK;
> }
> 1;
> 
> 
> But I'm not clear how to do work against the SSL port 993. I generate
> certificates in the proxy server or Lotus Domino server? I have no idea.

nginx can not proxy IMAP using SSL.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list