Hi Rob,

Thank you for the information.

I should mention that I have clamd running as a service under windows
server 2003. From my reading and I may be confusing things, I thought I
had to use clamdscan in this scenario.

What is the key difference between clamdscan and clamscan?

Regards,
Mark


-----Original Message-----
From: clamav-users-boun...@lists.clamav.net
[mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of Rob
MacGregor
Sent: Sunday, 6 December 2009 7:55 PM
To: ClamAV users ML
Subject: Re: [Clamav-users] Clamdscan setup

On Sun, Dec 6, 2009 at 06:27, Mark Gregory <mgreg...@agama.com.au>
wrote:
>
> I would like to setup a scheduled task for clamdscan to do scans every
> couple of hours.
>
> I would appreciate an example config file for clamdscan that would
> include setting a log file and scanning the entire c: drive
>
> And moving bad files to a quarantine folder.

You'll need to configure clamd that way, since clamdscan uses clamd
(the hint is in the name).

The man page for clamd.conf will give you what you want, but key lines
would included:

LogFile c:\example\log.file.txt

Note that clamd isn't a full AV product and doesn't include
quarantining.  For that you'll want clamscan.  Again the man page
tells you what you want, but something like:

clamscan -l=c:\example\log.file.txt --move c:\quarantine\ c:\


-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

--
This message was scanned by ESVA and is believed to be clean.
Click here to report this message as spam. 
http://h0stname/cgi-bin/learn-msg.cgi?id=09F33285B5.A961E


 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4663 (20091205) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4663 (20091205) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to