Russell Mann wrote:
Vpopmail, Qmail, Qmail Scanner. Sorry for the cross-list-post, but I'm not sure who to ask for this one, as I'm not sure which software isn't doing what I want!
You'll need to run qmail-smtpd as vpopmail.vchkpw or suid root so it can access the vpopmail files. His web page fully explains how to do it and why it has to be done.
#!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 19000000 \ /usr/local/bin/tcpserver -p -v -R \ -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd-chkusr domain.com \ /home/vpopmail/bin/vchkpw /bin/true