This is not the case anymore.  The Howto has been changed and now uses
the real clamdscan.

-Jim

This is still the case on freebsd, it fixed my problem after reading this message, rename clamdscan to clamdscan.org ln -s /usr/local/bin/clamscan /usr/local/bin/clamdscan
All of a sudden my emails are being scanned and it caught the test_installation.sh emails.

But you're not fixing the real problem, which is most likely
a) a communication problem between the client (clamdscan) and the server (clamd), eg a wrong socket path, or
b) a permissions problem, where clamd can't read the files it's supposed to scan. Clamd needs read privileges (qmr.org states the user has to be "qscand")


I can't tell which one it is without the actual error message. Additionally, I can't find from a quick glance thru qmr.org how they set up clamav's client/server communication, and if qmailscanner runs chrooted (and where).

Thomas
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Mon Dec 20 11:02:49 2004 -> +++ Started at Mon Dec 20 11:02:49 2004
Mon Dec 20 11:02:49 2004 -> clamd daemon 0.80 (OS: freebsd4.5, ARCH: i386, CPU: i386)
Mon Dec 20 11:02:49 2004 -> Log file size limited to 1048576 bytes.
Mon Dec 20 11:02:49 2004 -> Running as user qscand (UID 1020, GID 1020)
Mon Dec 20 11:02:49 2004 -> Reading databases from /usr/local/share/clamav
Mon Dec 20 11:02:51 2004 -> Protecting against 28526 viruses.
Mon Dec 20 11:02:51 2004 -> Unix socket file /var/log/clamav/clamd
Mon Dec 20 11:02:51 2004 -> Setting connection queue length to 15
Mon Dec 20 11:02:51 2004 -> Archive: Archived file size limit set to 10485760 bytes.
Mon Dec 20 11:02:51 2004 -> Archive: Recursion level limit set to 5.
Mon Dec 20 11:02:51 2004 -> Archive: Files limit set to 1000.
Mon Dec 20 11:02:51 2004 -> Archive: Compression ratio limit set to 250.
Mon Dec 20 11:02:51 2004 -> Archive: Limited memory usage.
Mon Dec 20 11:02:51 2004 -> Archive support enabled.
Mon Dec 20 11:02:51 2004 -> Archive: RAR support disabled.
Mon Dec 20 11:02:51 2004 -> Portable Executable support enabled.
Mon Dec 20 11:02:51 2004 -> Mail files support enabled.
Mon Dec 20 11:02:51 2004 -> OLE2 support enabled.
Mon Dec 20 11:02:51 2004 -> HTML support enabled.
Mon Dec 20 11:02:51 2004 -> Self checking every 600 seconds.


[ bubba: ] [Mon Dec 20 2004 11:03] (/downloads/qmailrocks/qmail-scanner-1.24/contrib ) -# test_installation.sh -doit
QMAILQUEUE was not set, defaulting to /var/qmail/bin/qmail-scanner-queue.pl for this test...


Sending standard test message - no viruses...
done!

Sending eicar test virus - should be caught by perlscanner module...
qmail-inject: fatal: qq temporary problem (#4.3.0)
Bad error. qmail-inject died

Mon, 20 Dec 2004 11:03:42 PST:15086: ------ Process 15086 finished. Total of 1.986759 secs
Mon, 20 Dec 2004 11:03:43 PST:15104: +++ starting debugging for process 15104 by uid=0
Mon, 20 Dec 2004 11:03:43 PST:15104: w_c: elapsed time from start 0.088004 secs
Mon, 20 Dec 2004 11:03:43 PST:15104: return-path='', recips='[EMAIL PROTECTED]'
Mon, 20 Dec 2004 11:03:43 PST:15104: from='Qmail-Scanner Test <[EMAIL PROTECTED]>', subj='Qmail-Scanner viral test (2/4): checking perlscanner...', via local process 15104
Mon, 20 Dec 2004 11:03:43 PST:15104: error_condition: X-Antivirus-DLLD.ORG-1.24-st-qms: clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2
Mon, 20 Dec 2004 11:03:43 PST:15104: ------ Process 15104 finished. Total of 0.287283 sec


1103569423:15104:------ START MSG F 11:03:43 ------
1103569423:15104:CONNECT-PIPE:15104
1103569423:15104:ENV-HEADER:'dlld.org','dlld.com','fantasizeirc.org','fantasizeirc.com','fantasizeirc.net'::[EMAIL PROTECTED]
1103569423:15104:HEADER:Qmail-Scanner Test <[EMAIL PROTECTED]>:Qmail-Scanner Test <[EMAIL PROTECTED]>:Qmail-Scanner viral test (2/4): checking perlscanner...
1103569423:15104:TYPE:MIXED
1103569423:15104:ERROR:X-Antivirus-DLLD.ORG-1.24-st-qms:clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2


_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to