Below is the “run” script that supervise uses
for qmail-smtpd. Notice now it uses /bin/checkpassword which is patched for MySQL
support. However, I’m moving to vchkpw, so how would I go about changing the
script so that SMTP AUTH will work? [/var/qmail/supervise/qmail-smtpd]# cat 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 $QMAILDUID, NOFILESGID $NOFILESGID,
MAXSMTPD $MAXSMTPD, or LOCAL $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 10000000
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -u $QMAILDUID -x
/etc/tcp.smtp.cdb -c "$MAXSMTPD" -g "$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd rhost1.zfx.com
/bin/checkpassword /bin/true 2>&1 Thank you! Thanks, Chris Miller Compuville 423.276.6692 |
- Re: [vchkpw] SMTP AUTH with vchkpw Chris Miller
- Re: [vchkpw] SMTP AUTH with vchkpw Werner Amon
- RE: [vchkpw] SMTP AUTH with vchkpw Chris Miller
- Re: [vchkpw] SMTP AUTH with vchkpw Jeremy Kitchen
- Re: [vchkpw] SMTP AUTH with vchkpw Erwin Hoffmann
- RE: [vchkpw] SMTP AUTH with vchkpw David Petruzzella
- RE: [vchkpw] SMTP AUTH with vchkpw Erwin Hoffmann
- RE: [vchkpw] SMTP AUTH with vc... David Petruzzella
- [vchkpw] SMTP AUTH with vchkpw signo
- Re: [vchkpw] SMTP AUTH with vchkpw Erwin Hoffmann