Tomasz Kojm wrote:
On Mon, 14 Jun 2004 16:58:20 +0300
Micha Silver <[EMAIL PROTECTED]> wrote:
I reverted back to using clamscan within the qmail-scanner.pl script
(causing higher CPU and memory usage) and went for help on the
qmail-scanner list. Today I finally hit on my problem: the clamav.conf
directive "DataDirectory" was changed since 0.70 to
"DatabaseDirectory". Once I fixed that syntax error I could go back
This shouldn't be the case because both of them are supported.
Hello Tomasz:
Thanks for the response.
I checked a little further into the qmail-scanner-queue.pl script.
Within the clamscan fucntion it checks the return value of the
clamscan_binary. If I understand correctly, clamdscan returns one of
three values: 0=no virus, 1=virus found, and 2=some error (clamscan,
on the other hand returns a list of more specific error messages).
If the qmail-scanner script gets a return value >1 it throws back
that generic error :
corrupt or unknown ClamAV scanner error or memory/resource/perms
problem - exit status 2
and then exits without further checking. So I assume that clamdscan
returns a 2 on finding a syntax error in the clamav.conf file?? So a
return value of 2 is not really an error, since clamdscan is still
able to run correctly. If this is your intension, maybe I'll take
the question back to the qmail-scanner list.
Do you plan to add additonal return values ("non-fatal" errors vs.
"fatal" errors for example) to clamdscan?
In either case the perl function within qmail-scanner needs to be
revised.
Regards,
Micha
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users