[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clamdscan - spcify server?



On 08/23/2007 03:47 PM, koffiejunkie wrote:
Hi guys,

I'm wondering - if I run clamdscan, it connects to clamd automatically (I have it set up with TCP instead of local socket).

If I want clamdscan to use a different server, how do I tell it to? I can't seem to find any information on this on the clamav website or in the clamav docs?

Thanks



For clamdscan, you would use the same clamd.conf file that you used to configure clamd, e.g.:

clamd -c /path/to/my/clamd.conf
...
clamdscan -c /path/to/my/clamd.conf

If clamdscan is to run on a different machine from clamd, then you'd have to copy the clamd.conf file from one machine to the other.




Reply to: