所需软件(假定你有QMAIL系统,且能正常运行) 1、maildrop-1.5.2.20030423.tar.gz 2、perl-Time-HiRes-1.38-3.i386.rpm 3、clamav-0.65.tar.gz 4、qmail-scanner-1.20.tgz
一 maildrop安装: tar zxvf maildrop-1.5.2.20030423.tar.gz ./configure [options] make make install-strip make install-man
二 安装 perl-Time-HiRes-1.38-3.i386.rpm rpm -ivh perl-Time-HiRes-1.38-3.i386.rpm
三 安装clamav-0.65.tar.gz grouadd clamav useradd –g clamav –s /bin/false clamav tar zxvf clamav-0.65.tar.gz cd clamav-0.65 ./configure make check make install 更新病毒库,freshclam 把freshclam加入crontab 定时更新病毒库, 修改/usr/local/etc/clamav.conf Example前加# 或删掉 执行clamscan 测试 执行clamd 然后执行clamdscan