> QMAILQUEUE="/var/qmail/bin/antivirus-qmail-queue.pl" export
>QMAILQUEUE
>
> env - PATH="/var/qmail/bin:/usr/local/bin" \
> tcpserver -H -R -x /etc/tcp.smtp.cdb -c100 -u503 -g502 0 smtp \
> /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
> echo "smtp"
> ;;
Since you are already using tcpserver, the best way (and the one that works
well for me) is to put the environment variables into the tcp.smtp.cdb
rules file. Here's my entry:
:allow,QMAILQUEUE="/var/qmail/bin/antivirus-qmail-queue.pl"
Recompile the rules database and all should be well...
regards,
Will
__________________________________________________________________________
"I was going to be a Neo-Deconstructivist, but Mom wouldn't let me..."
multimedia laboratorium [EMAIL PROTECTED]
institut fuer informatik (pgp id) F703D035
der universitaet zuerich (office) +41 1 635 4346
winterthurerstr. 190 (fax) +41 1 635 6809
ch-8057 zuerich (mobile) +41 76 372 0913
switzerland www.ifi.unizh.ch/~harris
__________________________________________________________________________