Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spamassassin not changing subject???

Status
Not open for further replies.

Vachaun22

Programmer
Oct 7, 2003
171
US
I'm having a problem with spamassassin on a newly installed FC4 box which was recently upgraded from RH9. On RH9, spamassassin was marking spam as good as it could since it was not being taught, and bayesian system was not functionaly on that box. However, I basically copied the config files for sendmail and spamassassin over to the FC4 installation and now spamassassin is not changing the subject to reflect a spam email.

I've been watching the log files, and it is correctly checking the emails, added the X-Spam: Yes header to the message, saying it's 3.5+++ out of a required 3.5, but it's almost as if it's ignoring the rewrite_header line in my local.cf file. This is a sitewide configuration, so no local.cf files exist.

It's a pretty basic local.cf file:

required_hits 3.5
rewrite_header Subject *****SPAM***** (_SCORE_)
report_safe 1
use_bayes 1

I've also tried the deprecated rewrite_subject 1, but that doesn't help. Any ideas?

Oh, also using spamass-milter. Thanks in advance.
 
Yeah, because when I ran spamassassin -D --lint, it says "read file /etc/mail/spamassassin/local.cf". Also I was sure it was using it before I checked the debut output, because it was giving messages points out of a required 3.5, which is what I had set the required score at instead of the default 5.
 
And you're sure you don't have a ~/.sp.....local.cf anywhere else?

Also, is your construct on the rewrite line legal?

mine reads:

rewrite_header Subject [SPAM]

I don't take the spammy-value as a field as you are trying to do, but mine works....

D.E.R. Management - IT Project Management Consulting
 
Well, I'm assuming it's legal, because I don't get any errors with the -D --lint. And there aren't any other .cf files that could affect anything. The weird thing is, it adds the headers and everything to a spam message, just doesn't change the header. What I have found is that it could be the milter having a bug. I use spamass-milt plugin for sending messages to spamassassin. If you don't mind, could I ask what milter you are using thedaver?
 
No milter used. I'm rather draconian/universal about handling the spam. And I deliver it all, marked or not.

Got tired of having conversations about false positives.

D.E.R. Management - IT Project Management Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top