Displaying values of hit rules in header?

John Goggan jgoggan at DCG.COM
Wed Jun 26 13:24:01 IST 2002


Let me start by saying that I am using SpamAssassin with MailScanner -- so I
apologize if this is actually a SpamAssassin question and not MailScanner.  It
was hard to tell exactly where this fell, so feel free to let me know I need
to go ask them if that is the case.

That being said...  I am using MailScanner w/ SpamAssassin on a system-wide
basis.  I currently have them configured so that all messages get a header
line describing what rules were hit for spam.  So, it looks something like
this:

X-MailScanner-SpamCheck: SpamAssassin (score=9.9, required 7,
FROM_ENDS_IN_NUMS, CLICK_BELOW, EXCUSE_7, EXCUSE_3, DOUBLE_CAPSWORD,
CLICK_HERE_LINK, MAILTO_LINK, NO_MX_FOR_FROM, MSG_ID_ADDED_BY_MTA_3)

What I would like is to be able to easily see the values that make up the
total score.  So, in other words, I'd rather see something like:

X-MailScanner-SpamCheck: SpamAssassin (score=9.9, required 7,
FROM_ENDS_IN_NUMS (0.382), CLICK_BELOW (1.531), EXCUSE_7 (1.305), EXCUSE_3
(1.080), DOUBLE_CAPSWORD (1.050), CLICK_HERE_LINK (0.847), MAILTO_LINK
(0.782), NO_MX_FOR_FROM (1.8), MSG_ID_ADDED_BY_MTA_3 (1.107))

...just to make it easier for me to see what the rule values are -- which is
especially useful to me while I am getting used to it and trying to correct
some misidentified spam on our servers.  Can that be done easily?

Thanks!

 - John...



More information about the MailScanner mailing list