Spam Reports in mail headers

Gib Gilbertson Jr. gib at TMISNET.COM
Tue Apr 6 02:52:43 IST 2004


Hi Julian.

At 11:58 AM 4/5/2004 +0100, you wrote:
>At 08:10 05/04/2004, you wrote:
>>Hi.
>>
>>I've dug through the archives and can't seem to find out if there is a
>>setting available that will do more than just turning on or off
>>Spamassassin scoring in e-mails.
>>
>>I have several clients that are on my whitelist who do not want spam
>>assassin scores in their e-mail headers.
>>
>>Is there a way to turn off putting scores in e-mail headers for whitelisted
>>users with a ruleset?
>
>Just create another ruleset with the same address patterns as your
>whitelist, but with "no" instead of "yes" and attach it to the
>Include Scores in SpamAssassin Report
>configuration option.

I created a ruleset called spam.score.rules and put it in the rules
directory reversing the yes and no for each address. Example:

FromOrTo:       test at tmisnet.com                no
FromOrTo:       default                         yes

In MailScanner.conf I changed the configuration as follows:

# Do you want to include the numerical scores in the detailed SpamAssassin
# report, or just list the names of the scores
Include Scores In SpamAssassin Report = %rules-dir%/spam.score.rules

Restarted MailScanner and sent a test message to the test at tmisnet.com
account. These are the appropriate lines from the headers:

X-Sender: gib at mail.tmisnet.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1
Date: Tue, 06 Apr 2004 11:19:26 +1000
To: test at tmisnet.com
From: "Gib Gilbertson Jr." <gib at tmisnet.com>
Subject: Testing
X-tmisnet-MailScanner-Information: Please contact TMISNET for more information
X-tmisnet-MailScanner: Not scanned: Please contact TMISNET if you want your
messages virus scanned.
X-tmisnet-MailScanner-SpamCheck: not spam (whitelisted),
         SpamAssassin (score=3.9, required 7, BODY_OBFU_CASH)

---

As you can see the SpamAssassin scores are there still.

If a user is whitelisted, why are we even scanning them?

Any thoughts?

gib


>>Here is an example of what I want to stop. This customer is whitelisted...
>>
>>>X-tmisnet-MailScanner: Found to be clean
>>>X-tmisnet-MailScanner-SpamCheck: not spam (whitelisted),
>>>         SpamAssassin (score=24.1, required 7, autolearn=spam,
>>>         BAD_CREDIT 0.41, BODY_OBFU_CIALIS 8.22, BODY_OBFU_PENIS 2.11,
>>>         HTML_70_80 0.51, HTML_MESSAGE 0.10, MIME_HTML_ONLY 0.10,
>>>         RCVD_IN_BL_SPAMCOP_NET 6.00, RCVD_IN_SPAMHAUS_SBL+XBL 6.00,
>>>         RCVD_IN_UNCONFIRMED_DSBL 0.51, TW_EG 0.08, TW_GJ 0.08)
>>>X-UIDL: 0;+"!b!3"!<]d"!N1:"!
>>
>>We just want to get rid of the SpamAssassin scoring on a per user basis.
>>
>>I'm running MailScanner v4.26.8
>>
>>Thanks
>>
>>gib
>
>
>      Gib Gilbertson Jr.
>     Tierramiga Info Systems
>      619-287-8647 Support
>      http://www.tmisnet.com
>      San Diego's "Friendly ISP"



More information about the MailScanner mailing list