Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5385974
  • 博文数量: 890
  • 博客积分: 12876
  • 博客等级: 上将
  • 技术积分: 10760
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-04 14:18
个人简介

猝然临之而不惊,无故加之而不怒。

文章分类

全部博文(890)

文章存档

2016年(1)

2014年(18)

2013年(41)

2012年(48)

2011年(65)

2010年(84)

2009年(121)

2008年(101)

2007年(129)

2006年(95)

2005年(118)

2004年(69)

分类: LINUX

2004-11-13 09:42:42

HOWTO install and configure ClamAV (AntiVirus) for Open WebMail on Red Hat/Fedora Core
======================================================================================
By Thomas Chung
On 2004-07-26

REF:


1. Installation

# wget
# rpm -Uvh clamav-0.72-1.i386.rpm

2. Configuration

# vi /etc/clamav.conf

Change value for User from 'clamav' to 'root'
otherwise, you will get "Can't access the file ERROR"

# vi /etc/freshclam.conf

Change value for Checks from "24" to "2"
to update virus database every 2 hours

3. Start services

freshclam - update virus databases
clamd - an anti-virus daemon

# chkconfig freshclam on
# service freshclam start
# chkconfig clamd on
# service clamd start

4. Test clamd manually

clamdscan - scan files and directories against viruses using Clam
AntiVirus Daemon

# clamdscan -v /usr/share/doc/clamav*
# clamdscan -v /home/

5. Enable viruscheck in openwebmail.conf

# vi openwebmail.conf

enable_viruscheck yes
viruscheck_pipe /usr/bin/clamdscan --mbox --disable-summary --stdout -
viruscheck_source_allowed all

阅读(2403) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~