imap port 993 perl + nginx

Igor Sysoev is at rambler-co.ru
Wed Feb 25 20:42:10 MSK 2009


On Wed, Feb 25, 2009 at 02:18:33PM -0200, Victor O?ate wrote:

> Hello nginx's users
> 
> I have an error in the connection
> nginx against by the ssl Dovecot
> espesificamente port 993

nginx does not support SSL in backend connection.

> 
> this work excelent.
> 
> #cat nginx.conf
>   server {
>         listen     993;
>         protocol   imap;
>         proxy      on;
>         ssl        on;
>         ssl_certificate /etc/ssl/cert.crt;
>         ssl_certificate_key /etc/ssl/cert.key;
>         starttls on;
>     }
> 
>   perl_modules  /etc/nginx/perl/lib;
>     perl_require  ModulAuth.pm;
> 
>     server {
>         listen 8000;
>         location /auth {
>             perl  ModulAuth::handler;
>         }
> 
> 
> Here is the error with the port 993, when you  put 143 runs
> perfect
> 
> #cat ModulAuth
>   $r->header_out( "Auth-Status", "OK" ) ;
>   $r->header_out( "Auth-Server", $mail_server_ip->{$maildrop} );
>   $r->header_out( "Auth-Port", "993");
>   $r->send_http_header("text/html");
> 
> 
> # nginx -V
> nginx version: nginx/0.5.35
> built by gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> configure arguments: --conf-path=/etc/nginx/nginx.conf
> --error-log-path=/var/log/nginx/error.log
> --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock
> --http-log-path=/var/log/nginx/access.log
> --http-client-body-temp-path=/var/lib/nginx/body
> --http-proxy-temp-path=/var/lib/nginx/proxy
> --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug
> --with-http_stub_status_module --with-http_flv_module
> --with-http_ssl_module --with-http_dav_module --with-mail
> --with-http_perl_module --with-perl_modules_path=/etc/nginx/perl/lib
> --with-mail_ssl_module
> 
> 
> thanks.. a lot
> 
> Mr_Brown

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





More information about the nginx mailing list