关掉EMOS的反病毒及反垃圾服务。

由于搭建的EMOS邮件系统,采用了邮件网关,postfix收发邮件网关都会进行防病毒和反垃圾邮件处理。因此,EMOS自带的防病毒和反垃圾邮件功能就需要停止,顺便提高postfix收发邮件的性能。
[root@mail postfix]# chkconfig --list     
amavisd         0:off   1:off   2:on    3:on    4:on    5:on    6:off
clamd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
courier-authlib 0:off   1:off   2:on    3:on    4:on    5:on    6:off
courier-imap    0:off   1:off   2:on    3:on    4:on    5:on    6:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
dspam-webd      0:off   1:off   2:on    3:on    4:on    5:on    6:off
dspamd          0:off   1:off   2:off   3:on    4:off   5:off   6:off
fail2ban        0:off   1:off   2:off   3:on    4:off   5:off   6:off
gpm             0:off   1:off   2:on    3:off   4:on    5:on    6:off
haldaemon       0:off   1:off   2:off   3:off   4:on    5:on    6:off
httpd           0:off   1:off   2:off   3:on    4:off   5:off   6:off
ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
kudzu           0:off   1:off   2:off   3:off   4:on    5:on    6:off
ldap            0:off   1:off   2:off   3:on    4:off   5:off   6:off
lvm2-monitor    0:off   1:on    2:on    3:on    4:on    5:on    6:off
mcstrans        0:off   1:off   2:on    3:on    4:on    5:on    6:off
messagebus      0:off   1:off   2:off   3:off   4:on    5:on    6:off
multipathd      0:off   1:off   2:off   3:off   4:off   5:off   6:off
mysqld          0:off   1:off   2:off   3:on    4:off   5:off   6:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off
netfs           0:off   1:off   2:off   3:off   4:on    5:on    6:off
netplugd        0:off   1:off   2:off   3:off   4:off   5:off   6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
ntpd            0:off   1:off   2:off   3:off   4:off   5:off   6:off
postfix         0:off   1:off   2:on    3:on    4:on    5:on    6:off
rdisc           0:off   1:off   2:off   3:off   4:off   5:off   6:off
restorecond     0:off   1:off   2:on    3:on    4:on    5:on    6:off
saslauthd       0:off   1:off   2:off   3:off   4:off   5:off   6:off
shorewall       0:off   1:off   2:off   3:off   4:off   5:off   6:off
spamassassin    0:off   1:off   2:off   3:off   4:off   5:off   6:off
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@mail postfix]# serivice amavisd stop
[root@mail postfix]# service clamd stop 
[root@mail postfix]# service dspamd stop
[root@mail postfix]# service dspam-webd stop
[root@mail Maildir]# service mysqld stop
[root@mail Maildir]# chkconfig mysqld off
[root@mail postfix]# chkconfig --level 0123456 amavisd off
[root@mail postfix]# chkconfig --level 0123456 clamd off
[root@mail postfix]# chkconfig --level 0123456 dspamd off
[root@mail postfix]# chkconfig --level 0123456 dspam-webd off


[root@mail ~]# vi /etc/postfix/main.cf
#       check_policy_service inet:127.0.0.1:10030
#header_checks = regexp:/etc/postfix/dspam_header_checks
# Content-Filter
#content_filter = smtp-amavis:[127.0.0.1]:10024
#receive_override_options = no_address_mappings

[root@mail ~]# cat /etc/postfix/master.cf
#smtp-amavis unix    -    -    n    -    3    smtp
#    -o smtp_data_done_timeout=1200
#    -o smtp_send_xforward_command=yes
#    -o disable_dns_lookups=yes
#    -o max_use=10

#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_client_restrictions=
#    -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_unknown_recipient_checks,no_header_body_checks

#
# DSPAM training settings
#
#retrain unix    -       n       n       -       -       pipe
#  flags=Rhq user=dspam argv=/usr/bin/dspam --client --mode=teft --class=$nexthop --source=corpus --user extmail --deliver=spam,innocent
#
#spamtrap unix   -       n       n       -       -       pipe
#  flags=Rhq user=dspam argv=/usr/bin/dspam --client --mode=teft --class=spam --source=inoculation --user extmail


[root@mail Maildir]# vi /etc/rc.local 
#/usr/bin/freshclam --daemon
#/usr/local/slockd/slockd-init start
[root@mail ~]# crontab -e
#0 0 1 * * wget -N -P /usr/share/spamassassin www.ccert.edu.cn/spam/sa/Chinese_rules.cf
#0 5 * * sun /usr/local/slockd/tools/log-rotate /usr/bin/gzip
#0 0 * * * /usr/bin/mysql -u dspam -p'postfix' dspam < /usr/share/dspam/sql/mysql/purge.sql
#0 0 * * * /usr/bin/dspam_logrotate -a 30 -d /var/spool/dspam/data
<script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=3&lang=zh"></script> <script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></script>
阅读(641) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值