Configuring nginx as mail proxy

Anton Yuzhaninov citrin at citrin.ru
Wed Oct 24 14:41:50 UTC 2012


On 10/24/12 18:27, Laurent Bonetto wrote:
> *Second* I installed nginx on my mac after installing macports:
>
> |$ sudo port -d selfupdate
> $ sudo port install nginx
> |
> *Here is what I got running nginx:*
>
> $ nginx -V nginx version: nginx/1.2.4 configure arguments: --prefix=/opt/local
> --with-cc-opt='-I/opt/local/include -O2' --with-ld-opt=-L/opt/local/lib
> --conf-path=/opt/local/etc/nginx/nginx.conf
> --error-log-path=/opt/local/var/log/nginx/error.log
> --http-log-path=/opt/local/var/log/nginx/access.log
> --pid-path=/opt/local/var/run/nginx/nginx.pid
> --lock-path=/opt/local/var/run/nginx/nginx.lock
> --http-client-body-temp-path=/opt/local/var/run/nginx/client_body_temp
> --http-proxy-temp-path=/opt/local/var/run/nginx/proxy_temp
> --http-fastcgi-temp-path=/opt/local/var/run/nginx/fastcgi_temp
> --http-uwsgi-temp-path=/opt/local/var/run/nginx/uwsgi_temp --with-ipv6
>
> $ nginx nginx: [emerg] unknown directive "mail" in /opt/local/etc/nginx/nginx.conf:6
>

nginx -V show, that there is no mail module is build.

--with-mail should be added to configure porameters.

Try to see
port variants nginx
my be it is possible to build nginx with mail module via mac ports.

-- 
  Anton Yuzhaninov



More information about the nginx mailing list