On Fri, 13 Dec 2002, Ronan Lucio <[EMAIL PROTECTED]> wrote
>Chris,
>
>I'm sorry for not understand something in the Unix world, yet.
>
>> The code I supplied does fallback to clamscan if clamd fails.
>>
>> You should NOT specify a value for $clamscan in amavisd.conf - if you do
>> clamscan will always be called, not just if clamd fails.
>>
>> Either define $clam_sockname as the path to the UNIX socket,
>
>What is the path to the UNIX socket on a FreeBSD-4.6-STABLE box?
Whatever you set as the value of LocalSocket in etc/clamav.conf

>Should I declare it either in amavisd.conf ou in amavisd file?
>
Either, but I can't remember if I mentioned that you need to have 
included it (and the other variables introduced by my code) in a use 
vars statement somewhere.


>> or define
>> $clamd as anything you like, depending whether you are using clamd with
>> UNIX or INET sockets.
>
>ClamAV is in the same box of the Postfix and Amavisd-new.
>Show I just declare: $clamd = "/usr/local/bin/clamd" ?

You can declare it as whatever you want, the value doesn't get used. But 
the port used by amavisd to connect to clamd is hard coded in the code I 
supplied as 3310

>Shoul I do it in amavisd.conf or in amavisd script file?

As above, BUT ONLY DECLARE ONE - depending on your clamd set up.
-- 
Chris Hastie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to