Am 17.11.2011 06:59, schrieb Philip Prindeville:
> 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...
The scan methods that start a new process for every scan (like
'Virus:CLAMAV') use the $Feature{} value to find the executable.
Those that contact a daemon through a socket (like 'Virus:CLAMD') have
the daemon's executable in their $Feature{} entry just by convention,
and do indeed just use it as a boolean. They have a separate variable
(like $ClamdSock) for the socket address if necessary.
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
_______________________________________________
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