error running /usr/local/nginx/sbin/nginx

Igor Sysoev is at rambler-co.ru
Fri Aug 17 11:56:43 MSD 2007


On Fri, Aug 17, 2007 at 03:50:20PM +0800, Winnie wrote:

> Hi all,
> I can't run "nginx" as following error:
> 
> 2007/08/17 15:46:05 [emerg] 26265#0: unknown directive "mail" in 
> /usr/local/nginx/conf/nginx.conf:6
> 
> pls help....thx a lot...

./configure ... --with-mail

and probably 

--with-mail_ssl_module

and probably 

--without-http

> configuration as following:
> =================================
> worker_processes  1;
> 
> events {
>     worker_connections  1024;
> }
> 
> mail {
>     auth_http  localhost:80/cgi-bin/auth.php;
> 
>     pop3_capabilities  "TOP"  "USER";
> 
>     server {
>         listen     110;
>         protocol   pop3;
>         proxy      on;
>     }
> }


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list