SpamAssassin cache hit inherits original spam score?

Julian Field MailScanner at
Wed Sep 17 16:26:19 IST 2008

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 1.64)
> Shouldnt the saved spam score be evaluated again when there is a cache hit?
> 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.

More information about the MailScanner mailing list