|
我搭建的postfix+spamassassin怎么没不过滤垃级邮件啊.....
参考:http://www.5dmail.cn/html/2006-10-24/20061024104619.htm做的..
郁闷
有谁做过的,指点一下.
我的/etc/mail/spamassassin/local.cf内容
cat local.cf
# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)
# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.
required_hits 5
report_safe 0
rewrite_subject 1
rewrite_header Subject [SPAM]
report_safe 1
use_terse_report 1
use_bayes 1
auto_learn 1
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
ok_languages zh en ja
ok_locales en ja zh
header LOCAL_RCVD Received =~ /.*\(\S+\.domain\.com\s+\[.*\]\)/
describe LOCAL_RCVD Received from local machine
score DCC_CHECK 4.000
score SPF_FAIL 10.000
score SPF_HELO_FAIL 10.000
score RAZOR2_CHECK 2.500
score BAYES_99 4.300
score BAYES_90 3.500
score BAYES_80 3.000 |
|