cd /home
./clamscan -r --log=/root/virus_log
This script placed in cron will scan all domains correctly and create a virus_log file in root with 2 types of log entries "EMPTY FILE" and "FOUND" for a virus detected........at the end of each line!
What we want to happen is that the log created is parsed,and only the FOUND lines kept in it with virus information. Then that file sent using sendmail to a hard coded email admin address..........PRETTY SIMPLE STUFF, if you area programmer..lol
Bob Palmer