Qmail-LDAP
[Top] [All Lists]

SMTP/SSL/TLS auth

To: qmail-ldap@qmail-ldap.org
Subject: SMTP/SSL/TLS auth
From: Mário Gamito <mgamito@telbit.pt>
Date: Tue, 13 Feb 2007 13:51:30 +0000
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
User-agent: Thunderbird 1.5.0.9 (X11/20061206)
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
------------------------------------------------------------------

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 :(

Will someone give me a hand on this, please ?

Warm Regards,
Mário Gamito

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