Hello,
 
It me again, I got no way to enable the auth_smtp with my installation. I've searched through the list. and tested a fes example by others. But with no luck on it.
 
I'm using the latest patch. What place to set and set what ? SMTPAUTH=??? AUTHREQUIRED=???
 
Look like I can set from env variable. but how ? could someone give me a working example on basic SMTP Auth ?
 
Does I need to append "/var/qmail/bin/auth_smtp /bin/true 2>&1" after "/var/qmail/bin/qmail-smtpd" ?
 
Regards,
Dino
 
This is my qmail-smtpd/run

#!/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
 
if [ ! -f /var/qmail/control/rcpthosts ]; then
    echo "No /var/qmail/control/rcpthosts!"
    echo "Refusing to start SMTP listener because it'll create an open relay"
    exit 1
fi
 
exec /usr/local/bin/softlimit -m 2000000 \
     /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

Reply via email to