Welcome! Log In Create A New Profile

Advanced

unknown directive "mail" в nginx 1.0.11

Alexander Petrovsky
February 06, 2012 12:32AM
Здравствуйте.

В конфиге:

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@jabber.ru
Phone: +7 914 8 820 815
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

unknown directive "mail" в nginx 1.0.11

Alexander Petrovsky February 06, 2012 12:32AM

Re: unknown directive "mail" в nginx 1.0.11

Alexander Petrovsky February 06, 2012 01:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 163
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready