Posts Tagged ‘clamav’

基于Postfix+sasl+courier-imap+courier-authlib+clamav+slockd+amavisd邮件系统配置安装笔记(二)

Posted in Linux on 7月 24th, 2009 by 飘(piao2010) – Be the first to comment

**************************

************************
垃圾邮件过滤病毒防护部分
************************

**************************

groupadd amavis
groupadd clamav
useradd amavis -g amavis
useradd clamav -g clamav

./configure –prefix=/usr/local/clamav –with-dbdir=/usr/local/share/clamav –disable-zlib-vcheck –sysconfdir=/etc/clamav
make
make install
mkdir /var/log/clamav
chown -R amavis:amavis /var/log/clamav
chown -R amavis.amavis /usr/local/share/clamav
mkdir /var/run/clamav
chmod 700 /var/run/clamav
chown amavis.amavis /var/run/clamav
mv /etc/clamav/freshclam.conf /etc/clamav/freshclam.conf.old

vi /etc/clamav/freshclam.conf
DatabaseDirectory /usr/local/share/clamav

UpdateLogFile /var/log/clamav/freshclam.log

LogVerbose yes
read more »

无觅相关文章插件,快速提升流量