ClamAV is not availabe through RedHat Network Update (up2date or yum) and we'll use DAG repository
(http://dag.wieers.com/rpm/FAQ.php#B)to install:
Example for RH 5 / CentOS 5
rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum update
or
up2date -u
yum install clamav-db clamav clamd
or
up2date -i clamav-db clamav clamd
Edit /etc/clamd.conf and make sure the following options are enabled:
TCPAddr 127.0.0.1
TCPSocket 3310
User root
MaxThreads 30
Now, we can (re)start clamd: /etc/init.d/clamd restart.
In mppd.conf.xml, change "clamav" to "clamd" or add "clamd" in "scan_engines" line and restart mppd: /etc/init.d/mppd restart