+ 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