上海青羽电脑科技有限公司

技术园地

TECHNOLOGY

技术园地

EMOS停止反垃圾和反病毒功能

发布时间:2017-01-04  /  浏览次数:10,368次

1、修改main.cf配置文件,红色部分为需要注释的部分

# smtpd related config
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_invalid_hostname#

#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

2、修改master.cf配置文件,红色部分为需要注释的部分

# 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
#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

然后需重启服务

 

一站式解决邮件收发与安全难题
靠谱工程师为您提供一对一的专业技术支持与服务
申请试用
400-602-8603