I'm using qmail-1.03+smtp-auth+qmail-scanner-1.16 with vpopmail. Upon following
the instructions provided in 'The qmail Handbook', I installed qmail-scanner on
my system.
I performed all the necessary tests it asked to do during ./configure, all of
which gave me no errors. More importantly, I did the
./contrib/test_installation.sh -doit, and I received all 4 email like I should
have. They show up in qmail-queue.log as they should. In other words, my
qmail-scanner seems to be working properly. The only thing I can deduce is
that QMAILQUEUE must not be setting in the /service/qmail-smtpd/run file.
Here is my run file (pardon any line wraps that may occur):
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /usr/qmail/control/concurrencyincoming`
LOCAL=`head -1 /usr/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ];
then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /usr/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /usr/qmail/control/rcpthosts ]; then
echo "No /usr/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
QMAILQUEUE="/usr/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
QS_SPAMASSASSIN="on" export QS_SPAMASSASSIN
exec /usr/local/bin/softlimit -m 6000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd \
-r sbl.spamhaus.org \
-r relays.ordb.org \
/usr/qmail/bin/qmail-smtpd cykotix.com
/usr/local/vpopmail/bin/vchkpw \
/usr/bin/true 2>&1
If the above script wraps in your email client, its format is correct. The
problem I am having is with the QMAILQUEUE and QS_SPAMASSASSIN variables
setting.
The reason why I set it in the run file because at the bottom of the
qmail-scanner FAQ, it suggests to do so when using vpopmail.
[See at very bottom: http://qmail-scanner.sourceforge.net/FAQ.php]
Any help is appreciated.
-Patrick Lahni
[EMAIL PROTECTED]
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general