主题: spamassassin没有起效果
我在里添加了Chinese_rules.cf
[root@mx01 spamassassin]# ls /usr/share/spamassassin
10_default_prefs.cf 20_dynrdns.cf 20_net_tests.cf 23_bayes.cf 25_domainkeys.cf 25_textcat.cf 30_text_pl.cf 60_whitelist_dk.cf Chinese_rules.cf
20_advance_fee.cf 20_fake_helo_tests.cf 20_phrases.cf 25_accessdb.cf 25_hashcash.cf 25_uribl.cf 30_text_pt_br.cf 60_whitelist_dkim.cf languages
20_body_tests.cf 20_head_tests.cf 20_porn.cf 25_antivirus.cf 25_pyzor.cf 30_text_de.cf 50_scores.cf 60_whitelist_spf.cf sa-update.cron
20_compensate.cf 20_html_tests.cf 20_ratware.cf 25_asn.cf 25_razor2.cf 30_text_fr.cf 60_awl.cf 60_whitelist_subject.cf sa-update-pubkey.txt
20_dnsbl_tests.cf 20_imageinfo.cf 20_uri_tests.cf 25_dcc.cf 25_replace.cf 30_text_it.cf 60_shortcircuit.cf 72_active.cf user_prefs.template
20_drugs.cf 20_meta_tests.cf 20_vbounce.cf 25_dkim.cf 25_spf.cf 30_text_nl.cf 60_whitelist.cf 72_removed.cf
然后我在local.cf添加了,查阅资料后说要添加
#user required
required_hits 2
/etc/amavisd.conf
$sa_tag_level_deflt = 2.0;
以上2个值设置成一致
确认要发的测试邮件域不在local.cf的白名单中,
重新启动spamd
然后发送测试的垃圾邮件我仍然可以收到,不会拒收或者在邮件标题加SPAM,请各位给点提示