reverse proxy imap

Weibin Yao nbubingo at gmail.com
Thu Feb 10 10:04:26 MSK 2011


vicosoft at gmail.com at 2011-2-10 14:47 wrote:
> Thanks.
>
> Now I understand. And is there any way the proxy server is who would 
> pass the request to port 993 Lotus Domino server and this is who sent 
> the SSL certificate?
How about my tcp proxy module 
(https://github.com/yaoweibin/nginx_tcp_proxy_module)?
> ---
> Jose Antonio Vico Palomino
> E-Mail: vicosoft at gmail.com <mailto:vicosoft at gmail.com>
>
> Visita mi Blogs:
>     http://www.vicosoft.org/blog/
>     http://www.mobileme.es
>     http://www.manchegox.org
>     http://www.todosconsoftwarelibre.es
>     http://www.caminodesantiago.vicosoft.org
>
> Facebook: http://www.facebook.com/Quijote
> Twitter: http://twitter.com/vicosoft
>
> Skype: vicosoft
> Google Talk: vicosoft at gmail.com <mailto:vicosoft at gmail.com>
>
>
>
>
>
> 2011/2/9 Igor Sysoev <igor at sysoev.ru <mailto:igor at sysoev.ru>>
>
>     On Wed, Feb 09, 2011 at 11:50:50AM +0100, vicosoft at gmail.com
>     <mailto:vicosoft at gmail.com> wrote:
>     > Imap works reverse proxy on port 143 successfully. With this
>     setting.
>     >
>     > File -> mailauth.pm <http://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/
>
>     _______________________________________________
>     nginx mailing list
>     nginx at nginx.org <mailto:nginx at nginx.org>
>     http://nginx.org/mailman/listinfo/nginx
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>   


-- 
Weibin Yao




More information about the nginx mailing list