SpamAssassin cache hit inherits original spam score?

Jonas Akrouh Larsen jonas at
Thu Sep 18 12:39:16 IST 2008

Hmmm so does that mean that if a mail was not marked as spam at 10:00 and
cached, then gets delivered again at 11:00 (now hitting more rbl's and other
network related test) it still wont be marked as spam because the score was
cached from the first occurrence?

If that’s true then using the cache have a negative aspect I hadn’t thought
of before.

Med venlig hilsen / Best regards
Jonas Akrouh Larsen
TechBiz ApS
Laplandsgade 4, 2. sal
2300 København S
Office: 7020 0979
Direct: 3336 9974
Mobile: 5120 1096
Fax:    7020 0978

-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Julian
Sent: 17. september 2008 17:26
To: MailScanner discussion
Subject: Re: SpamAssassin cache hit inherits original spam score?

The cache does not store whether it was spam or not, it just caches the 
score points.
So I'm not at all convinced you are seeing the behaviour you think you 
are, this may be the result of something else happening.

Tony Johansson wrote:
> We scan a number of different domains. Some have a required spam score
> of 7 while most use 5.
> The individual spam scores for the domains work as desired but seems to
> fail at times if a spam is cached.
> We've had examples where a domain that has set 5 as the required score
> gets spam delivered with a header as this:
> X-Svenskakyrkan-SpamCheck: not spam, SpamAssassin (cached, score=6.81,
> required 7, BAYES_50 0.00, DCC_CHECK 2.17, URIBL_BLACK 3.00, URIBL_SBL
> Shouldnt the saved spam score be evaluated again when there is a cache
> Regards, Tony


Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list