I have a qmail starting with daemontools via /service/qmail-smtpd/run

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
    echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
    echo /var/qmail/supervise/qmail-smtpd/run
    exit 1
fi

exec /usr/local/bin/softlimit -m 8000000 \
        /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb \
        -c "$MAXSMTPD" -u "QMAILDUID" -g "$NOFILESGID" \
        0 smtp recordio /var/qmail/bin/qmail-smtpd 2>&1

the only directories under /service are qmail-send and qmail-smtpd. 
Looking at the on-line docs/install guide its mentioned to use the
following if using daemontools.

echo "/var/qmail/bin/qmail-scanner-queue.pl" >
/service/smtpd/env/QMAILQUEUE

Do I have to create the smtpd and env directories? this doesn't seem to
work.  If I add the following to the top of the qmail-smtpd/run file
with out the above command it seems to work?

QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE

Am I reading this backwards? 

Thanks Ron



**************************************************************************************************
The Firelan(tm) Virus Scanning Service has scanned this email for viruses, vandals 
and malicious content.
http://www.firelan.net
**************************************************************************************************



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to