Bill WONG-SV wrote:
Dear All,
            If i only want to run qmail-spamc with qscanq (without ClamAV), how i can do?  What to fill in conf-scancmd ?
            Anyone can help?
 
Bill

I'm not sure if this is the best way, but you could try hacking out qmail-queue with something like this:

#!/bin/sh

#/bin/env >> /tmp/qmail-queue.env
if [ "${RELAYCLIENT-test}" == "" -o -z "$TCPREMOTEIP" ]; then
    /var/qmail/bin/qmail-queue.orig
else
    /usr/local/bin/spamc -t 60 -d sa.host.com | /var/qmail/bin/qmail-queue.orig
fi

It would appear others are taking different approaches:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg18944.html

Hope that helps - others would know more about this than me.

Mike

Reply via email to