自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

CentOS編輯安裝amavisd-new與修改內(nèi)容

系統(tǒng) Linux
CentOS編輯安裝amavisd-new/etc/yum.repos.d/CentOS-Base.repo 加入下面的內(nèi)容: [dag]name=Dag RPM Repostory for Red Hat Enterprise Linux

經(jīng)過長時(shí)間學(xué)習(xí)CentOS編輯安裝amavisd-new,你可能會(huì)遇到CentOS編輯amavisd-new問題,CentOS Linux由于同時(shí)具有與RHEL的兼容性和企業(yè)級(jí)應(yīng)用的穩(wěn)定性,又允許用戶自由使用,因此得到了越來越廣泛的應(yīng)用。這里將介紹CentOS編輯amavisd-new問題的解決方法。

CentOS編輯安裝amavisd-new/etc/yum.repos.d/CentOS-Base.repo 加入下面的內(nèi)容:
[dag]
name=Dag RPM Repostory for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
[root@localhost ~]# yum -y install clamav clamav-db clamd clamav-devel amavisd-new

CentOS編輯/etc/amavisd.conf,修改下面的內(nèi)容
$mydomain = 'yiyou.org';   # a convenient default for other settings
把下面內(nèi)容去掉注釋,并修改為下面
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/tmp/clamd.socket"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
[root@localhost ~]# usermod -G amavis clamav
[root@localhost ~]# service clamd start

在CentOS編輯/etc/postfix/master.cf 增加下面的內(nèi)容:
smtp-amavis  unix    -    -    n    -    4    smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes

127.0.0.1:10025 inet    n    -    n    -    -    smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o receive_override_options=no_header_body_checks

在CentOS編輯/etc/postfix/main.cf 加入下面的內(nèi)容
content_filter = smtp-amavis:[localhost]:10024
[root@localhost ~]# service postfix reload

【編輯推薦】

  1. CentOS安裝maildrop下載生成RPM與創(chuàng)建maildrop rpm
  2. CentOS postfix安裝創(chuàng)建rpm與切換mta
  3. 使用rpm文件手動(dòng)安裝CentOS authlib軟件
  4. 運(yùn)用CentOS RPM安裝CentOS 5.2中相關(guān)軟件如vhmgr
  5. CentOS5.3安裝Oracle過程講解與創(chuàng)建軟件賬戶
責(zé)任編輯:佚名 來源: CSDN
相關(guān)推薦

2010-01-14 17:13:28

centos bind

2010-01-15 10:36:49

CentOS yum配

2011-03-22 10:10:18

CentOSNagios安裝

2010-03-25 12:08:21

2010-01-14 13:47:30

CentOS extm

2011-03-25 16:23:43

CentOSNagios

2010-04-06 16:56:14

CentOS系統(tǒng)

2010-06-17 16:08:51

Grub2 編輯

2009-07-08 09:21:09

Linux安裝JDK

2010-01-13 13:27:07

CentOS vsft

2013-12-18 16:18:23

CentOShttpd源代碼

2010-01-14 12:15:10

CentOS post

2010-02-05 10:31:43

2010-02-22 16:49:35

CentOS vsft

2010-03-24 09:20:07

CentOS vi編輯

2010-01-13 17:00:54

CentOS MySQ

2010-02-23 10:58:47

CentOS NTFS

2010-01-15 17:35:09

2010-01-15 20:18:54

2010-01-14 17:39:53

CentOS ulim
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)