spamassassin 記分為零的問題
下面是運行的基本狀態:
service spamassassin restart
Stopping spamd: [ OK ]
Starting spamd: [ OK ]
啟動的日誌:
Sep 27 15:07:20 ns2 spamd: spamd: server started on port 783/tcp (running
version 3.2.4)
Sep 27 15:07:20 ns2 spamd: spamd: server pid: 6378
Sep 27 15:07:20 ns2 spamd: spamd: server successfully spawned child proces
s, pid 6380
Sep 27 15:07:20 ns2 spamd: spamd: server successfully spawned child proces
s, pid 6381
Sep 27 15:07:20 ns2 spamd: prefork: child states: II
amavisd的運行狀況:
#service amavisd status
amavisd (pid 5687 5686 5684) is running...
amavis-milter is stopped
#service spamassassin status
spamd (pid 6170 6169 6167) is running...
這是使用:
# spamd -d
warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use
這是收到的郵件來源記錄:
X-Virus-Scanned: amavisd-new at b-ape.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=6.2 tests=
請問是那裡有問題,記分總是0分?謝謝
[ 本帖最後由 wangdejiu 於 2008-9-27 15:23 編輯 ]
《解決方案》
原帖由 wangdejiu 於 2008-9-27 15:10 發表 http://bbs.chinaunix.net/images/common/back.gif
下面是運行的基本狀態:
service spamassassin restart
Stopping spamd: [ OK ]
Starting spamd: [ OK ]
...
沒有一個規則??
《解決方案》
貼local.cf看看
《解決方案》
原帖由 我@一條柴 於 2008-9-28 14:33 發表 http://bbs.chinaunix.net/images/common/back.gif
貼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
required_hits 6.3
report_safe 0
rewrite_header Subject
#================================================================
# Enable the Bayes system
use_bayes 1
# Enable Bayes auto-learning
bayes_auto_learn 1
# Enable or disable networ checks
#Added 09/25/08
skip_rbl_checks 0
#use_razor2 1
#use_dcc 1
#use_pyzor 1
# Mail using locales used in these coutry codes will not be marked
# As being possibly in a foreign language.
ok_locales zh en
ok_languages zh en
score HEADER_8BITS 0
score HTML_COMMENT_8BITS 0
score SUBJ_FULL_OF_8BITS 0
score UPPERCASE_25_50 0
score UPPERCASE_50_75 0
score UPPERCASE_75_100 0
score NO_REAL_NAME 4.000
score SPF_FAIL 10.000
score SPF_HELO_FAIL 10.000
score BAYES_99 4.300
score BAYES_90 3.500
score BAYES_80 3.000