vim /etc/mail/spamassassin/local.cf
1 # These values can be overridden by editing ~/.spamassassin/user_prefs.cf
2 # (see spamassassin(1) for details)
3
4 # These should be safe assumptions and allow for simple visual sifting
5 # without risking lost emails.
6 # 這是你 class c 之 IP
7 trusted_networks 163.17.209/24
8 # 如果你在使用 NFS,請不要使用這個
9 lock_method flock
10 # 成績超過 5.0 算是 spam
11 required_score 5.0
12 required_hits 5
13 ##########################################
14 report_safe 0
15 use_auto_whitelist 0
16 use_bayes 0
17 use_bayes_rules 0
18 bayes_auto_learn 0
19 ok_languages all
20 ok_locales all
21 ###########################################
22 rewrite_header Subject [spam]
23 #######在檔案最後面加入下列設定
24 rewrite_subject 1
25 subject_tag [spam]
26 #ok_languages en zh.big5
27 score HTML_COMMENT_8BITS
28 score uppercase_25_50
29 score uppercase_50_75
30 score uppercase_75_100
沒有留言:
張貼留言