Thanks, I had tried that earlier with no luck. Are there any guidelines on what kinds of characters are allowed in the rewrite string? I did notice I had embedded spaces between the parens and asterisks which I've removed to see if that will make any difference.

Thanks again for your help.  :)

Peace...

Tom

Greg Allen wrote:

Sorry,

Get rid of the :

rewrite_header Subject  *** SPAM(_SCORE_) ***:

becomes

rewrite_header Subject  *** SPAM(_SCORE_) ***





-----Original Message-----
From: Tom Q. Citizen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 10:53 PM
To: users@spamassassin.apache.org
Subject: Help needed with rewrite_header and Spamassassin 3.0.2 on Linux


Hi! Ok, I'm running Spamassassin 3.0.2 on a RedHat 9 based Linux box w/ perl 5.8.2 (multi-threaded), netqmail 1.05, and vpopmail 5.4.9. I've got qmail-scanner 1.25 installed and clamav .083. All seems to be working well except for rewrite_header doesn't seem to be working.


Here is my /etc/mail/spamassassin/local.cf file:

----------START--------------

# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
rewrite_header Subject  *** SPAM(_SCORE_) ***:
required_score  5.00
# report_safe 1
# trusted_networks 212.17.35.
lock_method flock

-----------END----------------

I do NOT have any other Spamassassin configuration files in users' home directories or anything like that. I do NOT have Razor or Pyzor installed. I installed Spamassassin via CPAN and the installation went flawlessly.

I've read through the mailing list and various other docs which talk about using rewrite_header Subject instead of rewrite_subject. Spamassassin IS detecting spam and setting the mail headers correctly but just not the subject line. Here is a sample of spam I'm getting:

----------------------START-----------------------

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 27843 invoked by uid 525); 1 Mar 2005 02:32:23 -0000
Received: from 222.47.62.222 by mama (envelope-from <[EMAIL PROTECTED]>, uid 505) with qmail-scanner-1.25
(clamdscan: 0.83/730. spamassassin: 3.0.2.
Clear:RC:0(222.47.62.222):SA:1(18.0/5.0):.
Processed in 9.959364 secs); 01 Mar 2005 02:32:23 -0000
X-Spam-Status: Yes, hits=18.0 required=5.0
X-Spam-Level: ++++++++++++++++++
Received: from unknown (HELO mail.signcastle.com) (222.47.62.222)
by redbricksmedia.com with SMTP; 1 Mar 2005 02:32:13 -0000
Date: Tue, 01 Mar 2005 03:17:18 +0000
Subject: SEXUALLY-EXPLICIT: I have a BIG BIG button there user
From: Big Surprise <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
X-Mailer:
Message-Id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: multipart/alternative; boundary="remdzlithkwbkxvn"


This is a multipart message in MIME format.

--remdzlithkwbkxvn
Content-type: text/plain; charset=us-ascii

http://www.drillclub.com/gen_ads/gen_mail.php?grid=24&ape=gt4724

Jokes of the day


------------------------END------------------------

I've changed the recipient's e-mail address "to protect the innocent". :) I have NO clue as to why the subject isn't being updated with my spam indicator and I have NO clue where to start troubleshooting this. I've seen messages posted to the list recently that DO have the subject rewritten and Spamassassin 3.0.1 was being used so I believe that is does work (or at least used to in a Spamassassin 3.0.x release).

Any ideas on why I'm having this problem? What is the best way to troubleshoot this?

Thanks in advance for your time and assisstance.

Peace...

Tom







Reply via email to