Andy Newby wrote:
We're using ClamAV on a Unix Centos Server, with WHM and Cpanel, we would
like to do this:
1) Set up a cron job to scan a single domain (via Cpanel), and a cron job
for the entire server (via WHM), how?
Create cron jobs to call clamscan with the options you want ?
2) We would like to set up a cron job to update ClamAV with the latest
virus DB on a single domain (via Cpanel), and a cron job for the entire
server (via WHM), how?
Ditto. Setup cron jobs to call freshclam. Or just let freshclam do
it's job automatically. If you have a lot of instances to update, you
might consider setting up a central server to fetch updates and then
let individual servers/instances fetch from that.
3) our web site allows users to upload images via a standard form. We
would like to set up ClamAV to be able to scan their file before it gets
uploaded to the server, how can we do this?
You can't - it's not there to scan before it's been uploaded. You'd
need to look at the software being used and get it to scan all new
files before it goes on to use them.
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml