[不指定 2010/01/09 14:40 | by tinkoko ]
| |
中午电话过来,说邮件服务器无法正常收发邮件。
原来以为是邮件队列问题。
对于我们的机器每天收发几百万封都没有出现问题。
maillq看了下只有700多封邮件,而且很多事 退信。
但是为了测试只好全部删除了。。

postsuper -d ALL.


但是还是不行,重启了slock和clamav。amvised都是不行的。

===============================

extmail.org看到一个事情就是CLAMAV要升级。尝试试了下,还真的是这样子。

1. vi /etc/yum.repos.d/CentOS-Base.repo
加入下面内容:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag/
gpgcheck=1
gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
enabled=1
2. yum install clamav ,yum install clamav-db ,过程中,可能要输入几个y。
3./etc/init.d/amavisd restart  
4./etc/init.d/clamd restart 此时会提示如下错误:
[root@mail etc]# /etc/init.d/clamd restart
Stopping Clam AntiVirus Daemon:                            [  OK  ]
Starting Clam AntiVirus Daemon: ERROR: Missing argument for option at line 34
ERROR: Can't open/parse the config file /etc/clamd.conf    [FAILED]
5.[root@mail etc]# cp /etc/clamd.conf.rpmnew   /etc/clamd.conf
cp: overwrite `/etc/clamd.conf'? y
6.[root@mail etc]# /etc/init.d/clamd restart                  
Stopping Clam AntiVirus Daemon:                            [FAILED]
Starting Clam AntiVirus Daemon:                            [  OK  ]
技术资料 » linux相关 | 评论(0) | 引用(0) | 阅读(250)
 
发表评论
   
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
昵称   密码   游客无需密码
网址   电邮   [注册]
               

验证码 不区分大小写