ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hello!

On Tue, Mar 10, 2009 at 12:37:27PM +0300, Vasiliy Tolstov wrote:

> Добрый день. Есть конфиг 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;

-     auth_http   none;
+     auth_http   http://host.name/auth/uri;
+     smtp_auth   none;
 

Maxim Dounin

>   }
> }
> 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@xxxxxxxxx>
> Selfip.Ru
> 
> 



 




Copyright © Lexa Software, 1996-2009.