imap port 993 perl + nginx

Victor Oñate victormanuelo at
Wed Feb 25 19:18:33 MSK 2009

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;

    server {
        listen 8000;
        location /auth {
            perl  ModulAuth::handler;

Here is the error with the port 993, when you  put 143 runs

#cat ModulAuth
  $r->header_out( "Auth-Status", "OK" ) ;
  $r->header_out( "Auth-Server", $mail_server_ip->{$maildrop} );
  $r->header_out( "Auth-Port", "993");

# 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
--pid-path=/var/run/ --lock-path=/var/lock/nginx.lock
--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

thanks.. a lot


More information about the nginx mailing list