AUTH LOGIN on smtpd does not work

Friedrich Locke <[email protected]> Fri, 11 Apr 2014 14:47:21 -0300
Newsgroups gmane.mail.qmail.ldap
Message-ID <CANMDHqfA6G0WBGto38UoK6OR9bTdADvbMh_Nkz_qYu9tWkE-AA@mail.gmail.com>
--001a11c2a0f4f7b9fa04f6c7ec69
Content-Type: text/plain; charset=ISO-8859-1

Hi qmal-ldap users,

In the last two days, i am setting up and knowning it (qmail-ldap) better.
I have authentication through SASL in my ldap service, etc ....
POP3 authentication is working perfectly.

The problem I am facing is that qmail-smtpd does auth with "AUTH LOGIN"
command. I am using the same user and password that i used to pop3 and all
i get is an error. Take a closer look:

sioux@gustav:~$ telnet obsd smtp
Trying 200.235.128.97...
Connected to obsd.cpd.ufv.br.
Escape character is '^]'.
220 obsd.cpd.ufv.br ESMTP
ehlo obsd.cpd.ufv.br
250-obsd.cpd.ufv.br
250-PIPELINING
250-AUTH LOGIN PLAIN
250 8BITMIME
AUTH LOGIN
334 VXNlcm5hbWU6
Z3Jpb3M=
334 UGFzc3dvcmQ6
MTIzNDU2
535 authentication failure
quit
221 obsd.cpd.ufv.br Goodbye.
Connection closed by foreign host.
sioux@gustav:~$

Do you have any ideia where i made my mistakens ?

Thanks a lot for your time and coopeartion.

Best regards,

fried.

--001a11c2a0f4f7b9fa04f6c7ec69
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div>Hi qmal-ldap users,<br><br><=
/div>In the last two days, i am setting up and knowning it (qmail-ldap) bet=
ter. I have authentication through SASL in my ldap service, etc ....<br></d=
iv>
POP3 authentication is working perfectly.<br><br></div>The problem I am fac=
ing is that qmail-smtpd does auth with &quot;AUTH LOGIN&quot; command. I am=
 using the same user and password that i used to pop3 and all i get is an e=
rror. Take a closer look:<br>
<br>sioux@gustav:~$ telnet obsd smtp<br>Trying 200.235.128.97...<br>Connect=
ed to <a href=3D"http://obsd.cpd.ufv.br">obsd.cpd.ufv.br</a>.<br>Escape cha=
racter is &#39;^]&#39;.<br>220 <a href=3D"http://obsd.cpd.ufv.br">obsd.cpd.=
ufv.br</a> ESMTP <br>
ehlo <a href=3D"http://obsd.cpd.ufv.br">obsd.cpd.ufv.br</a><br><a href=3D"h=
ttp://250-obsd.cpd.ufv.br">250-obsd.cpd.ufv.br</a> <br>250-PIPELINING<br>25=
0-AUTH LOGIN PLAIN<br>250 8BITMIME<br>AUTH LOGIN<br>334 VXNlcm5hbWU6<br>Z3J=
pb3M=3D<br>
334 UGFzc3dvcmQ6<br>MTIzNDU2<br>535 authentication failure<br>quit<br>221 <=
a href=3D"http://obsd.cpd.ufv.br">obsd.cpd.ufv.br</a> Goodbye.<br>Connectio=
n closed by foreign host.<br>sioux@gustav:~$<br><br></div>Do you have any i=
deia where i made my mistakens ?<br>
<br></div>Thanks a lot for your time and coopeartion.<br><br>Best regards,<=
br><br></div>fried.<br><div><div><div><br></div></div></div></div>

--001a11c2a0f4f7b9fa04f6c7ec69--