請教 Spamassassin 的問題..
我是設定 Spamassassin 判定為 spam 的話,在 subject 加上特
定的字串. 但是,萬一信件的 header 根本就沒有 subject 這行,那
即使被判定為 spam,還是不會(或無法)加上特定的字串。不知有辨
法解決嗎?
謝謝.
版主: 阿信
Received: from moha.homechoice.co.uk (213-153-61-151.dyn.salzburg-online.at [213.153.61.151])
by ms1.hinet.net (8.8.8/8.8.8) with SMTP id TAA03685;
Mon, 8 Nov 2004 19:30:47 +0800 (CST)
Message-ID: <5e8b01c4c609$a1a418e2$6302ecab@moha.homechoice.co.uk>
From: "Sheri Roach" <roach_zp@embedded-technology.nl>
To: hermeswu@ms1.hinet.net
Date: Tue, 09 Nov 2004 03:09:51 +0000
MIME-Version: 1.0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: 8bit
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on scw.homeip.net
X-Spam-Level: ***********************
X-Spam-Status: Yes, score=23.3 required=3.0 tests=DATE_IN_FUTURE_12_24,
FORGED_RCVD_HELO,HTML_50_60,HTML_BADTAG_20_30,HTML_MESSAGE,
HTML_NONELEMENT_60_70,HTML_OBFUSCATE_20_30,MIME_HTML_ONLY,
MISSING_SUBJECT,MSGID_DOLLARS,RATWARE_ZERO_TZ,RAZOR2_CF_RANGE_51_100,
RAZOR2_CHECK,URIBL_AB_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL,
URIBL_WS_SURBL autolearn=no version=3.0.1
X-Spam-Report:
* 0.1 FORGED_RCVD_HELO Received: contains a forged HELO
* 2.3 DATE_IN_FUTURE_12_24 Date: is 12 to 24 hours after Received: date
* 0.2 HTML_BADTAG_20_30 BODY: HTML message is 20% to 30% bad tags
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 1.1 HTML_NONELEMENT_60_70 BODY: 60% to 70% of HTML elements are non-standard
* 0.6 HTML_OBFUSCATE_20_30 BODY: Message is 20% to 30% HTML obfuscation
* 1.5 RAZOR2_CF_RANGE_51_100 BODY: Razor2 gives confidence level above 50%
* [cf: 100]
* 1.2 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
* 0.1 HTML_50_60 BODY: Message is 50% to 60% HTML
* 0.1 RAZOR2_CHECK Listed in Razor2 (http://razor.sf.net/)
* 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist
* [URIs: tzig.com]
* 2.0 URIBL_AB_SURBL Contains an URL listed in the AB SURBL blocklist
* [URIs: tzig.com]
* 0.5 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist
* [URIs: tzig.com]
* 2.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist
* [URIs: tzig.com]
* 3.9 URIBL_SC_SURBL Contains an URL listed in the SC SURBL blocklist
* [URIs: tzig.com]
* 1.6 MISSING_SUBJECT Missing Subject: header
* 2.4 RATWARE_ZERO_TZ Bulk email fingerprint (+0000) found
* 3.1 MSGID_DOLLARS Message-Id has pattern used in spam
Status:
<html>
<b>When was the last time you spoilt yourself?<br>
How about an exp<txdigeuskddgpyr>ensive watch such as a Ca<tikkopbdwifvhqd>rtier or a Ro<ojbebrfcrxlzh>lex?<p></b>
<b>Hurry, stocks are limited...</b> Exce<tllwxttduyso>llent REAL 18K GO<egqvemksaocly>LD Rep<typdruzcuzssagd>licas from $75-$250<p>
<a href="http://lpmvbskblvfwdp.tzig.com/r/gagabob/yvybsldzzk">CL<teyufyqotkor>lCK HERE to vie<sivjdsrcnkg>w our cata<bhbzvibdopngu>logue</a>
<p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br><p><br>
<a href="http://arhcgjdpsuc.tzig.com/z.php">n<nvfsyvmwqudl>o th<qfnrgffbzsvk>ank you</a><br><p>cnlfnbdvdrcenc
</html>
debug: config: SpamAssassin failed to parse line, skipping: rewrite_subject 1
whitelist_from xxx@abc.com
all_spam_to spam
required_score 3.0
rewrite_header subject [SPAM]
report_safe 0
use_terse_report 1
use_bayes 1
auto_learn 1
skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1
dcc_add_header 1
dns_available yes
allow_user_rules 0
ok_languages all
ok_locales all
header LOCAL_RCVD Received =~ /.*\(\S+\.virtual\.com\s+\[.*\]\)/
describe LOCAL_RCVD Received from local machine
score LOCAL_RCVD -50
body WINDOWOPEN /window\.open\(/i
describe WINDOWOPEN JavaScript: Windows.Open
score WINDOWOPEN 2.5
score SUBJ_ILLEGAL_CHARS 0
score FROM_ILLEGAL_CHARS 0
score HEAD_ILLEGAL_CHARS 0
score HEADER_8BITS 0
score HTML_COMMENT_8BITS 0
score SUBJ_FULL_OF_8BITS 0
stnien 寫:
- 代碼: 選擇全部
header LOCAL_RCVD Received =~ /.*\(\S+\.virtual\.com\s+\[.*\]\)/
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客