On 11/16/11 2:07 AM, Tilman Schmidt wrote:
> $Features{'Virus:CLAMD'} = '/usr/sbin/clamd';
> $Features{'Virus:CLAMAV'} = '/usr/bin/clamscan';
>
> Works great.
For what it's worth, I think most of the $Feature{} tests just care about
true/false...
Actually, no, not quite. Some of the values are actually used:
my($code, $category, $action) = run_virus_scanner($Features{'Virus:AVP5'} .
" -s -p /var/run/aveserver $path 2>&1","INFECTED");
and:
chdir($Features{'Path:SPOOLDIR'});
but Virus:CLAMD is definitely only ever used as a boolean.
-Philip
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang