Hello,
Running 7.2-RELEASE FreeBSD 7.2-RELEASE #0
qmail installed from LWQ <=> netqmail-1.06 {which is supposed to be 1.03 + all recommended patches]
installed ClamAV 0.96.5
installed qmail-scanner-2.01_5
_______
# make test ==>
Sending standard test message - no viruses...
qmail-inject: fatal: qq temporary problem (#4.3.0)
Bad error. qmail-inject died
*** Error code 1
Stop in /usr/ports/mail/qmail-scanner.
______
From /var/spool/qscand/qmail-queue.log
Fri, 07 Jan 2011 21:10:11 PST:20835: +++ starting debugging for process 20835 by uid=0
Fri, 07 Jan 2011 21:10:11 PST:20835: setting UID to EUID so subprocesses can access files generated by this script
Fri, 07 Jan 2011 21:10:11 PST:20835: program name is
qmail-scanner-queue.pl, version 2.01
Fri, 07 Jan 2011 21:10:11 PST:20835: w_c: mkdir /var/spool/qscand/tmp/mydomain.com129446341154020835
Fri, 07 Jan 2011 21:10:11 PST:20835: w_c: start dumping incoming msg into /var/spool/qscand/working/tmp/mydomain.com129446341154020835 [0.001626]
Fri, 07 Jan 2011 21:10:11 PST:20835: w_c: rename new msg from /var/spool/qscand/working/tmp/mydomain.com129446341154020835 to /var/spool/qscand/working/new/mydomain.com129446341154020835
Fri, 07 Jan 2011 21:10:11 PST:20835: w_c: total time between DATA command and "." was 0.002099 secs
Fri, 07 Jan 2011 21:10:11 PST:20835: w_c: (this is basically the time it took the client to send the message over the network
Fri, 07 Jan 2011 21:10:11 PST:20835: w_c: resetting timer so as to measure actual Qmail-Scanner processing time
Fri, 07 Jan 2011 21:10:11 PST:20835: incoming pipe connection from via local process 20835
Fri, 07 Jan 2011 21:10:11 PST:20835: d_m: starting /usr/local/bin/reformime -x/var/spool/qscand/tmp/mydomain.com129446341154020835/ </var/spool/qscand/working/new/mydomain.com129446341154020835 [0.000832]
Fri, 07 Jan 2011 21:10:11 PST:20835: d_m: finished /usr/local/bin/reformime -x/var/spool/qscand/tmp/mydomain.com129446341154020835/ [0.010633]
Fri, 07 Jan 2011 21:10:11 PST:20835: d_m: Checking all attachments to see if they're MS-TNEF
Fri, 07 Jan 2011 21:10:11 PST:20835: d_m: is /var/spool/qscand/tmp/mydomain.com129446341154020835/
1294463411.20837-0.mydomain.com is a TNEF file?: 256 [0.005456]
Fri, 07 Jan 2011 21:10:11 PST:20835: d_m: Check for zip files...
Fri, 07 Jan 2011 21:10:11 PST:20835: d_m: unpacking message took 0.016937 seconds
Fri, 07 Jan 2011 21:10:11 PST:20835: unsetting QMAILQUEUE env var
Fri, 07 Jan 2011 21:10:11 PST:20835: g_e_h: return-path is "", recips is "
postm...@mydomain.com"
Fri, 07 Jan 2011 21:10:11 PST:20835: from=Qmail-Scanner Test <
mydomain.com@
mydomain.com>,subj=Qmail-Scanner test (1/4): inoffensive message, x-qmail-scanner-message-id=<
2011010805101...@mydomain.com> via local process 20835
Fri, 07 Jan 2011 21:10:11 PST:20835: This is a PLAIN text message (because it's either not mime, or is text/plain), skip virus scanners - but not antispam scanners
Fri, 07 Jan 2011 21:10:11 PST:20835: This is a bounce message - better assume there's an attachment in it
Fri, 07 Jan 2011 21:10:11 PST:20835: ini_sc: start scanning
Fri, 07 Jan 2011 21:10:11 PST:20835: ini_sc: recursively scan the directory /var/spool/qscand/tmp/mydomain.com129446341154020835/
Fri, 07 Jan 2011 21:10:11 PST:20835: scanloop(virus): starting scan of directory "/var/spool/qscand/tmp/mydomain.com129446341154020835"...
Fri, 07 Jan 2011 21:10:11 PST:20835: scanloop: scanner=clamdscan_scanner,plain_text_msg=0
Fri, 07 Jan 2011 21:10:11 PST:20835: clamdscan: starting scan of directory "/var/spool/qscand/tmp/mydomain.com129446341154020835"...
Fri, 07 Jan 2011 21:10:11 PST:20835: run /usr/local/bin/clamdscan --no-summary /var/spool/qscand/tmp/mydomain.com129446341154020835 2>&1
Fri, 07 Jan 2011 21:10:11 PST:20835: --output of clamdscan was:
/var/spool/qscand/tmp/mydomain.com129446341154020835: lstat() failed: Permission denied. ERROR
--
Fri, 07 Jan 2011 21:10:11 PST:20835: error_condition: X-Qmail-Scanner-2.01: clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2
__________________________________
Running clamdscan manually
# clamdscan /usr/home
==> several lines like the following
---
---
/usr/home/mine/MYGROUPS: Access denied. ERROR
/usr/home/mine/tcpdumpfile: Heuristics.Structured.SSN FOUND
---
---
----------- SCAN SUMMARY -----------
Infected files: 252
Total errors: 102
Time: 451.332 sec (7 m 31 s)
Could not find any solution to this ??
Any suggestions?
THANKS!