Welcome! Log In Create A New Profile

Advanced

Nginx - SMTP no authentication

November 10, 2010 06:56AM
Hello


I have an nginx proxy smtp and on backend an criticalpath servers.
I want to configure nginx to do :
auth if if my client is configured to do auth
no auth if my client doesn't do this

I want to redirect the clients to the good backend ( with an LDAP server ),
and read in plain text the password.

I configure first with :
*1) smtp_auth* *login plain cram-md5 ;
The authentication is OK but necessary ( the no authentication does no work
)
2) **smtp_auth* *login plain;
the authentication is not OK because the mail is delivered if the password
is not the good password
The nginx proxy doesn't do the authentication with the backend server
3)**smtp_auth* *login plain cram-md5 none;
the mail is always delivered ( godd password or not )
**The nginx proxy doesn't do the authentication with the backend server*

is there an example of good nginx.conf?

Sincerely your
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx - SMTP no authentication

bidule November 10, 2010 06:56AM

Re: Nginx - SMTP no authentication

Maxim Dounin November 10, 2010 08:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready