SpamAssassin已经安装上去了,只是先前这个功能一直关闭的,如何打开这个垃圾邮件过滤功能?请高手指教。
关于spam的进程情况如下:
mail# ps -aux|grep "spam"
root 244 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)
root 243 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)
root 242 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)
root 241 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)
root 240 0.0 4.1 45888 43192 ?? I Thu05PM 0:00.00 spamd child (suidperl)
root 225 0.0 4.1 45888 43192 ?? Is Thu05PM 0:01.87 /usr/local/bin/spamd -c -d -r /var/
spam配置文件情况如下:
mail# cat /usr/local/etc/mail/spamassassin/local.cf
# SpamAssassin config file for version 2.5x
# generated by
http://www.yrex.com/spam/spamconfig.php (version 1.01)
# How many hits before a message is considered spam.
required_hits 4.0
# Whether to change the subject of suspected spam
rewrite_subject 1
# Text to prepend to subject if rewrite_subject is used
subject_tag ****垃圾邮件****
# Encapsulate spam in an attachment
report_safe 1
# Use terse version of the spam report
use_terse_report 0
# Enable the Bayes system
use_bayes 1
# Enable Bayes auto-learning
auto_learn 1
# Enable or disable network checks
skip_rbl_checks 1
rbl_timeout 1
use_razor2 0
use_dcc 0
use_pyzor 0
# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
# - chinese english spanish
ok_languages zh en es
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_languages zh en es
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales zh en es
score SUBJ_FULL_OF_8BITS 0.0
score BASE64_ENC_TEXT 0.0
score BAYES_99 0.1
score BAYES_90 0.1
score BAYES_80 0.1
score BAYES_70 0.1
score BAYES_60 0.1
score SUBJ_ILLEGAL_CHARS 0.1
score FROM_ILLEGAL_CHARS 0.1
score HEAD_ILLEGAL_CHARS 0.1
score MIME_BASE64_TEXT 0.1
score FAKE_HELO_AOL 0.1
score NO_RDNS_DOTCOM_HELO 0.1
score CHINA_HEADER 0.1
score NO_REAL_NAME 0.2
score HTML_MESSAGE 0.5
score MIME_HTML_ONLY 1.0
score MIME_HTML_ONLY_MULTI 1.0
score FORGED_MUA_OUTLOOK 1.0
score CLICK_BELOW 1.0
score FORGED_HOTMAIL_RCVD 1.0
score FORGED_OUTLOOK_TAGS 1.0
score MAILTO_TO_SPAM_ADDR 1.0