Thanks. I've done that, but something is out of whack. The patch author says everything looks as it should, so doesn't know why it isn't working. He suggested stracing it. Anyway I did do the telnet and followed rfc 2554 to see if I can find anything. And this is what I got:
Trying 127.0.0.1... Connected to mail.exampledomain.com (127.0.0.1). Escape character is '^]'. 220 exampledomain.com ESMTP ehlo 250-exampledomain.com 250-PIPELINING 250-AUTH=LOGIN PLAIN 250-AUTH LOGIN PLAIN 250-SIZE 0 250 8BITMIME auth plain 334 ok. go on. mail <[EMAIL PROTECTED]> auth=test 535 auth failure mail <[EMAIL PROTECTED]> auth=test 250 ok I find it interesting that the same auth worked the second time, or did it? I also killed my LDAP server to see if it would complain. It didn't. Same thing as far as authentication. The only time it complained was in trying to deliver the mail. Then it deferred it due to LDAP being down. On Sat, 2002-03-30 at 03:58, Thomas -Balu- Walter wrote: > + James Stevens <[EMAIL PROTECTED]> [29.03.02 17:30]: > > I followed the http://www.lifewithqmail.org/ldap with success as far as > > verifying accounts and delivering mail. So far so good. Then I tried the > > AUTH_SMTP patch. This didn't seem to work though. I am including what I > > think is the pertinent information. > > AFAIR I have just added the patch, recompiled and reinstalled. > > My qmail-smtpd/run - file: > > #!/bin/sh > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming` > > if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then > echo "QMAILDUID, NOFILESGID or MAXSMTPD is unset in" > echo "/var/qmail/supervise/qmail-smtpd/run" > exit 1 > fi > > exec /usr/local/bin/softlimit -m 3000000 \ > /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c > "$MAXSMTPD" \ > -u "$QMAILDUID" -g "$NOFILESGID" 0 25 \ > /var/qmail/bin/qmail-smtpd /var/qmail/bin/auth_smtp /usr/bin/true 2>&1 > > This works for me - and ldaprebind is active. > > Restarted qmail? > > Also try to connect manually to your server: > > telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 localhost ESMTP > ehlo > 250-localhost > 250-PIPELINING > 250-AUTH=LOGIN PLAIN > 250-AUTH LOGIN PLAIN > 250-SIZE 0 > 250 8BITMIME > > > If it answers with "AUTH" to your ehlo SMTP-Auth is active. > > Balu
