Qmail-LDAP
[Top] [All Lists]

RE: SMTP/SSL/TLS auth

To: 'Mário Gamito' <mgamito@telbit.pt>, <qmail-ldap@qmail-ldap.org>
Subject: RE: SMTP/SSL/TLS auth
From: "Razvan Turtureanu" <razvan@edata.ro>
Date: Tue, 13 Feb 2007 16:16:00 +0200
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: <45D1C262.2000006@telbit.pt>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Thread-index: AcdPdgRJMVgMD/kLR4ivW716SEHY4gAAxSRQ
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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