do you heave the ~control/smtpcert file? if not try this.
echo "control/cert.pem" > /var/qmail/control/smtpcert
or whatever path is the cert.pem created after the command "make cert".
best o luck.
-----Original Message-----
From: Mário Gamito [mailto:mgamito@telbit.pt]
Sent: Tuesday, February 13, 2007 15:52
To: qmail-ldap@qmail-ldap.org
Subject: SMTP/SSL/TLS auth
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
smime.p7s
Description: S/MIME cryptographic signature
|