SpamAssassin cache hit inherits original spam score?

Martin.Hepworth martinh at solidstatelogic.com
Thu Sep 18 12:52:12 IST 2008


Correct, its a cache of recently seen email and it's spamassassin score..

See "SpamAssassin Cache Timings" for the actual timings used for ham, spam and high scoring spam....here's mine, which are the default.

# Do not change this unless you absolutely have to, these numbers have
# been carefully calculated.
# They affect the length of time that different types of message are
# stored in the SpamAssassin cache which can be configured earlier in
# this file (look for "Cache").
# The numbers are all set in seconds. They are:
# 1. Non-Spam cache lifetime                           = 30 minutes
# 2. Spam (low scoring) cache lifetime                 = 5 minutes
# 3. High-Scoring spam cache lifetime                  = 3 hours
# 4. Viruses cache lifetime                            = 2 days
# 5. How often to check the cache for expired messages = 10 minutes
SpamAssassin Cache Timings = 1800,300,10800,172800,600

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Jonas Akrouh Larsen
> Sent: 18 September 2008 12:39
> To: MailScanner discussion
> Subject: RE: SpamAssassin cache hit inherits original spam score?
>
> 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
> Web: www.techbiz.dk
>
>
>
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Julian Field
> 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
> 1.64)
> >
> > Shouldnt the saved spam score be evaluated again when there
> is a cache
> hit?
> >
> > Regards, Tony
> >
> >
> >
> >
> >
>
> Jules
>
> --
> Julian Field MEng CITP CEng
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
>
> 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: http://www.jules.fm/julesfm.asc
>
>
> --
> This message has been scanned for viruses and dangerous
> content by MailScanner, and is believed to be clean.
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>




**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom
**********************************************************************



More information about the MailScanner mailing list