Imap port 993 perl + nginx

Hello nginx’s users

I have an error in the connection
nginx against by the ssl Dovecot
espesificamente port 993

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

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.

Hello!

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

As of now nginx doesn’t support ssl backend connections in mail
proxy module, and there is no plans to implement it in near
future. It’s assumed that environment between frontend (nginx)
and backend isn’t hostile. If this isn’t the case in your
installation - you may consider using some sort of secure tunnels
between frontends and backends to make it non-hostile.

Maxim D.