HOWTO install and configure ClamAV (AntiVirus) for Open WebMail on Red Hat/Fedora Core ====================================================================================== By Thomas Chung On 2004-07-26 (updated 2005-02-25) REF: http://clamav.net/ 1. Installation Get RPM packages for Fedora Core 1/2/3 from: http://http://crash.fce.vutbr.cz/crash-hat/ # rpm -Uvh clamav-XXX.i386.rpm (--nodeps if necessary) 2. Start services freshclam - update virus databases clamd - an anti-virus daemon # chkconfig freshclam on # service freshclam start # chkconfig clamd on # service clamd start 3. Test clamav manually NAME clamscan - scan files and directories against viruses SYNOPSIS clamscan [options] [file/directory/-] # clamscan -r /home/ 4. Enable viruscheck in openwebmail.conf # vi openwebmail.conf enable_viruscheck yes viruscheck_pipe /usr/bin/clamdscan --mbox --disable-summary --stdout - viruscheck_source_allowed all