歡迎您光臨本站 註冊首頁

我的spamassassin 規則為什麼跳過了。兄弟們幫忙了,小弟跪謝了!!在線等,,,

我的sendmail 目錄下存在spamassassin目錄, 看服務spamassassin在運行。但好象沒什麼作用。幫忙啊。謝謝了··
我打了如下的指令
spamassassin -D --lint

輸出結果:
                                          
debug: ignore: using a test message to lint rules                                                
debug: using "/usr/share/spamassassin" for default rules dir                                                            
debug: using "/etc/mail/spamassassin" for site rules dir                                                        
debug: using "/home/chwei/.spamassassin" for user state dir                                                           
debug: using "/home/chwei/.spamassassin" for user state dir                                                           
Created user preferences file: /home/chwei/.spamassassin/user_prefs                                                                  
debug: using "/home/chwei/.spamassassin/user_prefs" for u                                                      
Failed to parse line in SpamAssassin configuration, skipping: rewrite_header Sub                                                                                
ject *****SPAM*****                  
Failed to parse line in SpamAssassin configuration, skipping: report_safe 1                                                                           
Failed to parse line in SpamAssassin configuration, skipping: use_bayes 1                                                                        
Failed to parse line in SpamAssassin configuration, skipping: auto_learn 1                                                                          
Failed to parse line in SpamAssassin configuration, skipping: bayes_auto_learn 1                                                                                

Failed to parse line in SpamAssassin configuration, skipping: bayes_min_ham_num                                                                              
500   
Failed to parse line in SpamAssassin configuration, skipping: bayes_min_spam_num                                                                                
500   
Failed to parse line in SpamAssassin configuration, skipping: bayes_auto_learn_t                                                                                
hreshold_nonspam 1.0                    
Failed to parse line in SpamAssassin configuration, skipping: bayes_auto_learn_t                                                                                
hreshold_spam 9.0                 
debug: is Net::DNS::Resolver unavailable? 0                                          
debug: trying (3) leo.org...                           
debug: looking up MX for 'leo.org'
debug: MX for 'leo.org' exists? 1
debug: MX lookup of leo.org succeeded => Dns available (set dns_available to har
dcode)
debug: is DNS available? 1
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=2.4
debug: check_for_very_long_text: found 1350 bytes
debug: check_for_very_long_text: found 1350 bytes
debug: Loading languages file...
debug: Language possibly: en,sco
debug: spam-phrase score: 32.7734170591313: hits: this message
debug: running raw-body-text per-line regexp tests; score so far=4.3
debug: running uri tests; score so far=4.3
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=4.3
debug: Razor2 is not available
debug: DCC is not available: dccproc not found
debug: Razor1 is not available
debug: Pyzor is not available: pyzor not found
debug: running meta tests; score so far=5.3
debug: is spam? score=5.3 required=5 tests=DATE_MISSING,INVALID_MSGID,MISSING_HE
ADERS,NO_REAL_NAME,SPAM_PHRASE_21_34,SUBJ_MISSING,SUPERLONG_LINE
《解決方案》

難道就沒有人會嗎???我的spamassassin是不是有問題。那為什麼跳過呢。大哥知道的幫幫忙了。或指條明道。謝謝
《解決方案》

把你的 rewrite_header Sub 前面的東西看一下,
一定是哪裏寫錯了
《解決方案》

這是我spamassassin里的local.cf的文件。幫忙看下,# without risking lost emails.

required_hits 5
rewrite_subject 1
subject_tag
rewrite_header Subject *****SPAM*****
whitelist_from_rcvd @abc.com.cn abc.com.cn


report_safe 1
defang_mime 0
rewrite_subject 0
report_header 1
use_terse_report 1
use_bayes 1
auto_learn 1
bayes_auto_learn 1
bayes_min_ham_num 500
bayes_min_spam_num 500
bayes_auto_learn_threshold_nonspam 1.0
bayes_auto_learn_threshold_spam 9.0
ok_languages zh en
ok_locales en zh
《解決方案》

你不會自己查 ? 一行一行實驗嗎 ?
非得全都問人才甘願 ?
《解決方案》

應是單詞錯了,要注意板本不同后,裡面的參數名會有很大的改變的.
《解決方案》

我挨個試了。就下列的語句錯了。想知道為什麼。是拼錯了。還是怎麼回事。知道的,麻煩說下。。。

report_safe 1

use_bayes 1
auto_learn 1


bayes_auto_learn 1
bayes_min_ham_num 500
bayes_min_spam_num 500
bayes_auto_learn_threshold_nonspam 1.0
bayes_auto_learn_threshold_spam 9.0
《解決方案》

免費的東西我一直不敢用,我們公司用的是EQManager.

[火星人 ] 我的spamassassin 規則為什麼跳過了。兄弟們幫忙了,小弟跪謝了!!在線等,,,已經有561次圍觀

http://coctec.com/docs/service/show-post-43744.html