Hi, all:

I have diligently followed directions and overcome many obstacles on my
way to this point.

Okay, so I'm using qmail 1.03 compiled from source with the QMAILQUEUE
patch applied, qmail-scanner-queue.pl version 1.13, and Sophos
Anti-Virus (/usr/local/bin/sweep) on a Redhat machine running kernel
2.4.2-2. qmail-scanner-queue.pl built without errors. I used the
--install switch to install it.

When running the test_installation.sh script, I see the following
output:

[root@smtp-relay2 new]#
/home/sfbosch/src/qmail-scanner-1.13/contrib/test_installation.sh -doit
setting QMAILQUEUE to /var/qmail/bin/qmail-scanner-queue.pl for this
test...

Sending standard test message - no viruses...
qmail-inject: fatal: qq crashed (#4.3.0)
Bad error. qmail-inject died
[root@smtp-relay2 new]#

If I try and send mail normally, it never arrives.

Now, this wouldn't be so bad, if I could make heads or tails out of the
log output:

28/08/2002 14:32:02:13233: +++ starting debugging for process 13233 by
uid=0 at 2
8/08/2002 14:32:02
28/08/2002 14:32:02:13233: setting UID to EUID so subprocesses can
access files g
enerated by this script
28/08/2002 14:32:02:13233: program name is qmail-scanner-queue.pl,
version 1.13
28/08/2002 14:32:02:13233: incoming pipe connection from via local
process 13233
28/08/2002 14:32:02:13233: w_c: mkdir
/var/spool/qmailscan/smtp-relay210305703224
2313233
28/08/2002 14:32:02:13233: w_c: start dumping incoming msg into
/var/spool/qmails
can/working/tmp/smtp-relay2103057032242313233 [1030570322.94315]
28/08/2002 14:32:02:13233: w_c: rename new msg from
/var/spool/qmailscan/working/
tmp/smtp-relay2103057032242313233 to
/var/spool/qmailscan/working/new/smtp-relay2
103057032242313233 [1030570322.94392]
28/08/2002 14:32:02:13233: d_m: starting /usr/local/bin/reformime 
-x/var/spool/q
mailscan/smtp-relay2103057032242313233/
</var/spool/qmailscan/working/new/smtp-re
lay2103057032242313233 [1030570322.94415]
28/08/2002 14:32:02:13233: d_m: finished /usr/local/bin/reformime 
-x/var/spool/q
mailscan/smtp-relay2103057032242313233/ [1030570322.95339]
28/08/2002 14:32:02:13233: d_m: Checking all attachments to see if
they're MS-TNE
F
28/08/2002 14:32:02:13233: d_m: is
/var/spool/qmailscan/smtp-relay210305703224231
3233/1030570322.13235-0.smtp-relay2 is a TNEF file?: 256
[1030570322.95572]
28/08/2002 14:32:02:13233: d_m: Manually unpack any zip files as some
virus scann
ers don't do zip under Unix!
28/08/2002 14:32:02:13233: d_m: unpacking message took 0.011953 seconds
28/08/2002 14:32:02:13233: unsetting QMAILQUEUE env var

Not very helpful -- it don't see any obvious errors and so I can't begin
to guess where the problem lies.

I've set softlimit to 10000000 in /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 10000000 \
    /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


I've even tried running softlimit on the command line with sweep -- it
works fine. So I'm guessing that I've missed something really obvious
here, but I'm really at a loss and could use some assistance.

Oh, and just for kicks:

[root@smtp-relay2 qmailscan]# free
             total       used       free     shared    buffers    
cached
Mem:        513100     482136      30964          0      29588    
387304
-/+ buffers/cache:      65244     447856
Swap:      1052216          0    1052216
[root@smtp-relay2 qmailscan]#

Does anybody have any ideas?

-Stephen-


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to