nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
686 stars 202 forks source link

How to authenticate before sending proxy to smtp server #2

Closed vivek779 closed 8 years ago

vivek779 commented 8 years ago

hello i was working nginx .i want to I was working on nginx webserver .I want to authenticate with user name and password just before it send proxy to smtp server is it possible with this nginx-ldap-auth module could anyone please guide me and provide me an eg.

vl-homutov commented 8 years ago

This example solution is designed to work with http-auth-request module, and does not work with mail proxy. However, you may want to look at http://nginx.org/en/docs/mail/ngx_mail_auth_http_module.html and authenticate using similar approach.

Please do not create issue on github to just ask question. You may ask questions here: https://www.nginx.com/blog/nginx-plus-authenticate-users/