On Mon, 2006-01-16 at 19:57 +0800, aim mix wrote: > Greetings, > > can someone explain to me why ? > > my /var/qmail/supervise/qmail-smtpd/run > > ... > /var/qmail/bin/qmail-smtpd HOSTNAME \ > /home/vpopmail/bin/vchkpw /bin/true 2>&1 > > ... > > if the word HOSTNAME there the smtp-auth won't work. it must be > blank then the smtp-auth will work. i don't know why.
Because it shouldnt be there. Try something like this instead. #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` HOSTNAME=`hostname -f` /usr/local/bin/tcpserver -vRD -l $HOSTNAME -c 20 -x /home/vpopmail/etc/tcp.smtp.cdb -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /usr/local/bin/rblsmtpd -t5 -b -C -r dnsbl.sorbs.net -r sbl-xbl.spamhaus.org -r list.dsbl.org -r relays.ordb.org \ -r bl.spamcop.net -r multihop.dsbl.org -r combined.njabl.org \ /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true 2>&1
