On Tue, Feb 13, 2007 at 11:46:35AM +0000, Mário Gamito wrote:
> Hi,
>
> I've compiled qmail-ldap with SMTP AUTH and SSL.
>
> I also made the certificate which is in /var/qmail/control
>
> Now, i have a mail account with the password secret.
>
> I ran:
> $ perl -MMIME::Base64 -e 'print
> encode_base64("[EMAIL PROTECTED]")'
>
> Result was:
> AGdhbWl0b0BtYWlsMi50ZWxiaXQucHQAc2VjcmV0
>
> Now i telnet to the server and get this error:
> [EMAIL PROTECTED] qmail]# telnet mail2.telbit.pt 25
> Trying 192.168.84.128...
> Connected to mail2.telbit.pt (192.168.84.128).
> Escape character is '^]'.
> 220 mail2.telbit.pt ESMTP
> EHLO mail2.telbit.pt
> 250-mail2.telbit.pt
> 250-PIPELINING
> 250-AUTH LOGIN PLAIN
> 250 8BITMIME
> AUTH LOGIN PLAIN AGdhbWl0b0BtYWlsMi50ZWxiaXQucHQAc2VjcmV0
> 334 UGFzc3dvcmQ6
> MAIL FROM: [EMAIL PROTECTED]
> 501 authentication exchange failed
>
>
> What's missing here ?
>
> What is the password or how to set it ?
> Isn't it the mail's account pass ?
>
> Any help would be appreciated.
>
UGFzc3dvcmQ6 is base64 for Password: so you're encoding is wrong. Don't
ask me what needs to be changed in your example as I don't have the SMTP
AUTH spec handy.
--
:wq Claudio