Was hoping someone out there might have a quick solution to my problem. I
currently have a devlopement server running qmail (hoping to soon replace
our sendmail system). I currently have a compbination Qmail + Vpopmail
system authenticating off MySQL. It's also running courier IMAP/POP3 which
also authenticates off the MySQL database. All works well. However, I'm
having problems integrating smtp-auth with this. I have added the smtp-auth
patch and when I do a 'ehlo' command it lists auth as a feature, however it
doesn't seem to be working. Am, I corrent in thinking that it should run
/usr/home/vpopmail/bin/vchkpw to check the username and password?

I have included my tcpserver run file for qmail-smtpd:

#!/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" ];
th\en
    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 2000000 \
    /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMT\PD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp recordio
/var/qmail/bin/qmail-s\mtpd
dev.penndigital.net /usr/home/vpopmail/bin/vchkpw /usr/bin/true &
 

Reply via email to