On Tue, Nov 04, 2003 at 03:08:47PM -0800, Asaf Shakarchi wrote: > Hello, > > I posted a question regarding smtp-auth and I recieved an answer no > external patch required for smtp-auth in the new version of the > qmail-ldap.
Yup, that's right. Also our auth-smtp implementation is diffrent form all others. We're updateing the Docu to show the differences. > it seems like smtp-auth just doesn't work. this is my startup file for > the smtpd daemon: > > exec /usr/local/bin/softlimit -m 5000000 \ > /usr/local/ucspi-tcp/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c > "$MAXSMTPD" \ > -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd > /var/qmail/bin/auth_smtp /bin/true 2>&1 > There is no need to to add any arguments to qmail-smtpd. To enable auth_smtp set the SMTPAUTH environment var. The rest will be done by qmail-smtpd. >From QLDAPNEWS: Added auth_smtp and AUTH capabilities to qmail-smtpd. Enabled via the SMTPAUTH env var. If SMTPAUTH is set to TLSREQUIRED it is neccesairy to do a STARTTLS before issuing an AUTH command. If AUTHREQUIRED is set any user MUST successfully authenticate before issuing a MAIL FROM command. The string in the env var AUTHPREPEND will be prepended to the userid in the received line. > > on the log file I can't see nothing related to smtpd (DEBUGLEVEL=255 for > pop3d work just fine so it's nothing about the --DEBUG option on the > Makefile) > > also, openldap's daemon(slapd) does not create any logs while running in > a debug mode, so it seems like auth-smtp just doesn't do anything. > The best way to test if auth_smtp is available is via telnet localhost 25 and issuing a "EHLO dude" command. If there is no "250-AUTH LOGIN PLAIN" line auth_smtp is not active. -- :wq Claudio "Contrary to popular belief, penguins are not the salvation of modern technology. Neither do they throw parties for the urban proletariat."
