Qmail-LDAP
[Top] [All Lists]

Re: SMTP/SSL/TLS auth

To: Mário Gamito <mgamito@telbit.pt>
Subject: Re: SMTP/SSL/TLS auth
From: Jose Celestino <japc@co.sapo.pt>
Date: Tue, 13 Feb 2007 14:07:31 +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
Delivered-to: secretary for qmail-ldap@qmail-ldap.org
In-reply-to: <45D1C262.2000006@telbit.pt>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <45D1C262.2000006@telbit.pt>
User-agent: Mutt/1.5.12-2006-07-14
Words by Mário Gamito [Tue, Feb 13, 2007 at 01:51:30PM +0000]:
> Hi,
> 
> I'm getting bezerked with this.
> 
> I'm trying to set SMTP authenticated through SSL/TLS.
> 
> As far as i can see, i don't have SSL/TLS support in qmail:
> ------------------------------------------------------------------
> [root@mail2 control]# 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 zooropa
> 334 UGFzc3dvcmQ6
> MAIL FROM:gamito@mail2.telbit.pt
> 501 authentication exchange failed
> ------------------------------------------------------------------
> 

Hehehe. He's asking for the password in base64, not MAIL FROM. Well nothing
to do with the problem reported.

Do ldd /var/qmail/bin/qmail-smtpd and paste the result.

Do cat /var/qmail/control/smtpcert.

Do ls -la `cat /var/qmail/control/smtpcert`.


> My qmail's Makefile is:
> ------------------------------------------------------------------
> LDAPFLAGS=-DEXTERNAL_TODO -DALTQUEUE -DCLEARTEXTPASSWD
> 
> LDAPLIBS=-L/usr/lib -lldap -llber
> 
> LDAPINCLUDES=-I/usr/include
> 
> # ZLIB needed for -DDATA_COMPRESS and -DQMQP_COMPRESS
> #ZLIB=-lz
> # or you installed zlib in a different path you can use something like this
> #ZLIB=-L/opt/zlib/lib -lz
> #ZINCLUDES=-I/opt/zlib/include
> 
> TLS=-DTLS_REMOTE -DTLS_SMTPD
> 
> TLSINCLUDES=-I/usr/includes
> 
> TLSLIBS=-L/usr/lib -lssl -lcrypto
> 
> OPENSSLBIN=/usr/bin/openssl
> OPENSSLBIN=openssl
> 
> # to make the Netscape download progress bar work with qmail-pop3d
> # uncomment the next line (allready done)
> MNW=-DMAKE_NETSCAPE_WORK
> 
> # to enable the auto-maildir-make feature uncomment the next line
> MDIRMAKE=-DAUTOMAILDIRMAKE
> 
> # to enable the auto-homedir-make feature uncomment the next line
> HDIRMAKE=-DAUTOHOMEDIRMAKE
> 
> # on most systems we need this to make auth_pop and auth_imap
> SHADOWLIBS=-lcrypt
> -----------------------------------------------------------------------
> 
> I also ran make cert and the cert file is in /var/qmail/control
> 
> I'm going nuts here. There's so few (or none) documentation :(
> 

Because it's simple.

-- 
Jose Celestino
----------------------------------------------------------------
http://www.msversus.org/     ; http://techp.org/petition/show/1
http://www.vinc17.org/noswpat.en.html
----------------------------------------------------------------
"And on the trillionth day, Man created Gods." -- Thomas D. Pate

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