Qmail-LDAP
[Top] [All Lists]

Re: SMTP auth with SSL

To: Mário Gamito <mgamito@telbit.pt>
Subject: Re: SMTP auth with SSL
From: Hugo Monteiro <hugo.monteiro@fct.unl.pt>
Date: Tue, 13 Feb 2007 13:13:42 +0000
Cc: qmail-ldap@qmail-ldap.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <45D1A51B.6030404@telbit.pt>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <45D1A51B.6030404@telbit.pt>
User-agent: Icedove 1.5.0.8 (X11/20061123)
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("\000gamito\@mail2.telbit.pt\000secret")'

Result was:
AGdhbWl0b0BtYWlsMi50ZWxiaXQucHQAc2VjcmV0

Now i telnet to the server and get this error:
[root@mail2 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: gamito@mail2.telbit.pt
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.

Warm Regards,
Mário Gamito


Hello Mário, pehaps you'd like to take a look at this page. I found it very straight forward and accessible.

http://qmail.jms1.net/test-auth.shtml

Regards,

Hugo Monteiro.

--
ci.fct.unl.pt:~# cat .signature

Hugo Monteiro
Email    : hugo.monteiro@fct.unl.pt
Telefone : +351 212948300 Ext.15307

Centro de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.ci.fct.unl.pt             apoio@fct.unl.pt

ci.fct.unl.pt:~# _


<Prev in Thread] Current Thread [Next in Thread>