jlesage / docker-nginx-proxy-manager

Docker container for Nginx Proxy Manager
MIT License
756 stars 166 forks source link

unknown directive "mail" #281

Closed KuroSetsuna29 closed 1 year ago

KuroSetsuna29 commented 1 year ago

Is it possible to enable to mail module? I want to use NPM as a mail proxy server, however I am getting the error [emerg] unknown directive "mail" in....

Eg.

mail {
    server_name mail.example.com;
    auth_http   http://127.0.0.1:9000;

    # disabling xclient command
    xclient off;

    server {
        listen     25;
        protocol   smtp;
        smtp_auth  none;
    }
}

It looks like it needs to be compiled with the --with-mail flag to be able to use the "mail" directive.

jlesage commented 1 year ago

Mail module added to the latest image.