Displaying values of hit rules in header?
Rose, Bobby
brose at MED.WAYNE.EDU
Wed Jun 26 18:22:22 IST 2002
I added some code to SAForkAndTest routine in sender.pl that sends the
message calls rewrite_mail () and >get_full_message_as_text() then
writes it all out to /var/spam/queue/spr$mID if the message is
considered by Spam. So basically, the system gets a copy of the message
with a full rewrite. Every once in a while, I'll cat it all together
into an file and review the subject lines to see if any false positives.
Afterwhich, I run a script that calls spamassassin -r and reports the
messages as SPAM to razor and dcc. Right now, I'm only using dcc since
razorv2 is in a state of flux but I still report to razor. The
handlespam script I obtained from Theo Van Dinter at Kluge.net. He
frequents SA so ask for him there if you want the script.
-----Original Message-----
From: John Goggan [mailto:jgoggan at DCG.COM]
Sent: Wednesday, June 26, 2002 1:03 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Displaying values of hit rules in header?
Julian Field wrote:
>
> As you are just wanting to find out the info for a handful of
> messages, why not use something like
> spamassassin -t < sample-message.txt
> as described in the SpamAssassin docs?
> That will give you the full report for the sample-message.txt file you
> give it.
Mainly because the messages have already made it to not-so-knowledgeable
end-users at that point. They aren't that great at forwarding things
with full headers so that I can more fully analyze them later. Plus,
they are all using Outlook -- which makes both forwarding or bouncing
with full headers almost impossible -- and what they can forward to me
tends to mangle things enough that it doesn't matter any more.
I simply wanted to be able to walk up to their machines, take a quick
look at the email that got marked as spam, and be able to see what the
main "heavy" rules were.
Again, no biggie, was just asking if it happened to be in there
already...
- John...
More information about the MailScanner
mailing list