Hello<br><br><br>I have an nginx proxy smtp and on backend an criticalpath servers.<br>I want to configure nginx to do :<br>   auth if if my client is configured to do auth<br>   no auth if my client doesn&#39;t do this<br>
<br>I want to redirect the clients to the good backend ( with an LDAP server ), and read in plain text the password.<br><br>I configure first with :<br><i>1) smtp_auth</i> <i><b>login plain cram-md5 ;<br>The authentication is OK but necessary ( the no authentication does no work )<br>
2) </b></i><i>smtp_auth</i> <i><b>login plain;<br>the authentication is not OK because the mail is delivered if the password is not the good password<br>The nginx proxy doesn&#39;t do the authentication with the backend server<br>
3)</b></i><i>smtp_auth</i> <i><b>login plain cram-md5 none;<br>the mail is always delivered ( godd password or not ) <br></b></i><i><b>The nginx proxy doesn&#39;t do the authentication with the backend server</b></i><br><br>
is there an example of good nginx.conf?<br><br>Sincerely your<br>