We run the following script to update clamscan then check all the home
directories, we use clamd on the mail server. Works great, even picked up
some new virus's before our commercial scanner. Make sure you have read
through /etc/clamav.conf and have all the settings correct but it should just
about work out of the box.
===========================================
#!/bin/sh
LOG_FILE="/var/log/clamav/clamscan.log"
if [ ! -f ${LOG_FILE} ]; then
touch $LOG_FILE
chmod 6666666G_FILE
chown clamav.clamav $LOG_FILE
fi
/usr/bin/freshclam --datadir=/var/lib/clamav --log=$LOG_FILE --log-verbose
/usr/bin/clamscan -ri -l /var/log/clamav/clamscan.log /home
=================================================
On Wednesday 26 May 2004 5:44 pm, Stephane Dudzinski wrote:
On Wed, 2004-05-26 at 17:34, Peter McEvoy wrote:
> Odd, I'm using clamav-daemon intergrated with exim4 and I havent had one
> virus reported to have gotten past yet, I've only been using p3scan
> since yesterday but on a 600 user network no one has reported a virus
> yet, compared to 25/30 the day before.
This is not odd. clamdscan should be the one used if you run it as this
is the one wired to the 'up2date' virus definition, at least this is my
understanding.
Steph
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!