unknown directive "mail" в nginx 1.0.11

Alexander Petrovsky askjuise на gmail.com
Пн Фев 6 05:31:43 UTC 2012


Здравствуйте.

В конфиге:

mail {
        auth_http host/auth;

        imap_capabilities  "IMAP4rev1"  "UIDPLUS";

        server {
                listen          110;
                protocol       imap;
                proxy           on;
        }
}

www# nginx -V
nginx version: nginx/1.0.11
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--with-debug --with-file-aio
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx-access.log --with-http_addition_module
--with-http_gzip_static_module --with-http_random_index_module
--with-http_ssl_module --with-http_stub_status_module --with-pcre
--with-mail --with-mail_ssl_module

При запуске получаю следующую ошибку:

www# /usr/local/etc/rc.d/nginx start
Performing sanity check on nginx configuration:
nginx: [emerg] unknown directive "mail" in
/usr/local/etc/nginx/nginx.conf:391
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
Starting nginx.
nginx: [emerg] unknown directive "mail" in
/usr/local/etc/nginx/nginx.conf:391
/usr/local/etc/rc.d/nginx: WARNING: failed to start nginx


-- 
Петровский Александр / Alexander Petrovsky,

Jabber: juise at jabber.ru
Phone: +7 914 8 820 815
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20120206/f2a034d0/attachment.html>


Подробная информация о списке рассылки nginx-ru