You need to make sure you have installed the QMAILQUEUE patch for
qmail-1.03 so qmail-scanner-queue.pl can intercept the messages.

See:
http://qmail-scanner.sourceforge.net/
http://www.lifewithqmail.org/lwq.html#patches

Then you need to modify the /var/qmail/supervise/qmail-smtpd/run file
described in http://www.lifewithqmail.org/ section "2.8.2.2. The supervise
scripts".

My run file looks like this...

============
#!/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
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE exec
/usr/local/bin/softlimit -m 10000000 \
 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
        /usr/local/bin/rblsmtpd -b \
        -r relays.osirusoft.com \
        -r relays.ordb.org \
        -r dev.null.dk \
        -r orbs.dorkslayers.com \
        /var/qmail/bin/tcp-env \
        /usr/sbin/relaylock \
        /var/qmail/bin/qmail-smtpd 2>&1
============

I have modified it for my system to run rblsmtpd and smtp-poplock.  So I
am not sure what your run file should look like.  The line you are
interested in adding is:

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

If you are using the standard run file described in
http://www.lifewithqmail.org/

I would think the run file should look something like this

==================
#!/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
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE exec
/usr/local/bin/softlimit -m 2000000 \
 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
=======================


Hope that helps,


Darley




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to