On Wed, 8 Jan 2003 19:03:04 +0100
Henning Brauer <[EMAIL PROTECTED]> wrote:

> On Wed, Jan 08, 2003 at 06:44:01PM +0100, Marc wrote:
> > Hope somebody can give me some advice on this (I think Henning Brauer
> > is the autor of smtp-auth patch and he often reads this list)
> 
> yeah, but I'm a slacker and go having beer now ;-)

Hey, thanks for your prompt response, and have a nice "beering" session
;-)

> 
> > Qmail with ldap seems to work perfect, but when I try to use smtp-auth
> > it doesn't.
> 
> have this running here and works just fine. show your
> /service/qmail-smtpd/run file (or whatever it is for you)
> 

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL"
]; then
    echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
    echo /var/qmail/supervise/qmail-smtpd/run
    exit 1
fi
exec /usr/local/bin/softlimit -m 4000000 \
    /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1


That's it. Does it help to diagnose the problem ? (hope so!)

I'm sure it's a silly mistake I made ... but I cannot find it. The
password is stored in the LDAP database as {SHA} and it's in the
userPassword attribute.

Cheers,
M

Reply via email to