и снова вопрос про mail в nginx

Vasiliy Tolstov v.tolstov at selfip.ru
Tue Mar 10 12:37:27 MSK 2009


Добрый день. Есть конфиг nginx вида
user www-data;
worker_processes  1;

error_log  /var/log/nginx/error.log;
pid        /var/run/nginx.pid;

events {
    worker_connections  1024;
}

mail {
  server_name  mail.localhost;
  proxy_pass_error_message on;
  xclient off;
  server {
    listen 127.0.0.3:25;
    protocol    smtp;
    timeout     300s;
    auth_http   none;
  }
}
nginx -t говорит 
2009/03/10 09:24:56 [emerg] 3653#0: host not found in auth_http "none"
in /etc/nginx/nginx.conf:19
2009/03/10 09:24:56 [emerg] 3653#0: the configuration
file /etc/nginx/nginx.conf test failed

Ошибка происходит при парсинге auth_http none;

nginx version: nginx/0.7.38
built by gcc 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf
--http-log-path=/var/log/nginx/access_log
--error-log-path=/var/log/nginx/error_log --pid-path=/var/run/nginx.pid
--without-http --with-sha1-asm --with-sha1=/usr/include --with-md5-asm
--with-md5=/usr/include --with-mail --with-mail_ssl_module


mail.localhost кузолвится в 127.0.0.3 в чем может быть проблема?

-- 
Vasiliy Tolstov <v.tolstov at selfip.ru>
Selfip.Ru






More information about the nginx-ru mailing list