
April 25th, 2008, 04:39 AM
|
|
Contributing User
|
|
Join Date: Feb 2006
Location: Isl,Pakistan
Posts: 83
Time spent in forums: 22 h 21 m 13 sec
Reputation Power: 3
|
|
SpamAssassin, rewrite_header is not working
For:
spamassassin -t -D < /tmp/mail
, i get
Quote: pts rule name description
---- ---------------------- --------------------------------------------------
0.0 MISSING_DATE Missing Date: header
-2.8 ALL_TRUSTED Did not pass through any untrusted hosts
1.6 MISSING_SUBJECT Missing Subject: header |
My local.cf files contains settings:
Quote: required_hits -2.9
report_safe 0
rewrite_header Subject ****SPAM(_SCORE_)**** |
and the mail i recieve is:
Quote: From hina@advcomm.net Fri Apr 25 14:24:54 2008
Return-Path: <hina@advcomm.net>
Received: from [192.168.0.197] ([192.168.0.197])
by localhost.localdomain (8.13.1/linuxconf) with SMTP id m3P9OE0r026394
for declnxadmin@decdom3.com; Fri, 25 Apr 2008 14:24:40 +0500
Date: Fri, 25 Apr 2008 14:24:14 +0500
From: hina@advcomm.net
Message-Id: <200804250924.m3P9OE0r026394@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: [192.168.0.197] didn't use HELO protocol
X-Spam-Flag: YES
X-Spam-Status: Yes, score=-1.2 required=-2.9 tests=ALL_TRUSTED,MISSING_DATE,
MISSING_SUBJECT autolearn=failed version=3.0.1
X-Spam-Report:
* 0.0 MISSING_DATE Missing Date: header
* -2.8 ALL_TRUSTED Did not pass through any untrusted hosts
* 1.6 MISSING_SUBJECT Missing Subject: header
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on EnterpriseLinux
heloo123 |
I don't know why its not adding [Spam] with the subject.Please help me with this.
|