Jeff Portwine wrote:
> 
> We're running spamassassin 3.0.2 with perl 5.8.4, and exim 3.35 on
> Debian. 

You may want to upgrade to 3.1.  There have been a bunch of improvements
recently.

> Here are the SA related headers for a couple of spams that are
> getting through: 
> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at veritime.com
> X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail2
> X-Spam-Level: *
> X-Spam-Status: No, score=1.8 required=4.9 tests=BAYES_50,HTML_80_90,
>  HTML_MESSAGE,PORN_URL_SEX,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,
>  UPPERCASE_25_50 autolearn=no version=3.0.2
> X-Spam-Veritime: Valid
> 
> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at veritime.com
> X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail2
> X-Spam-Level:
> X-Spam-Status: No, score=-2.6 required=4.9 tests=BAYES_00
>  autolearn=ham version=3.0.2
> X-Spam-Veritime: Valid

BAYES_00 on a spam message is bad news.  You probably want to wipe out
your Bayes db and recreate it.

> As opposed to this one which is a spam message that SA caught:
> X-Spam-Flag: YES
> X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail2
> X-Spam-Level: *************
> X-Spam-Status: Yes, score=13.2 required=4.9
>         tests=BAYES_99,DIGEST_MULTIPLE,
>         DRUGS_ERECTILE,DRUG_DOSAGE,DRUG_ED_CAPS,HELO_DYNAMIC_IPADDR,
> HTML_FONT_BIG,HTML_FONT_SIZE_LARGE,HTML_MESSAGE,HTML_SHOUTING5,
> INVALID_DATE,PYZOR_CHECK,RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,
> UPPERCASE_25_50 autolearn=spam version=3.0.2   
> X-Spam-Veritime: Valid
> X-Spam-Veritime-Spam: True

You are running Pyzor and Razor2.  Those will help quite a bit.

> The first thing I did when I was looking at this was to run
> spamassassin -lint to see if it was parsing the configuration file
> properly and it gave me:  
> 
> config: SpamAssassin failed to parse line, skipping: use_terse_report 0 
> config: SpamAssassin failed to parse line, skipping: auto_learn      1 
> lint: 2 issues detected.  please rerun with debug enabled for more
> information. 
> 
> When I looked these up, I found that they were deprecated options
> from version 2.6x.   At some point SA must have been updated with a
> apt-get update or something and the configuration file was not
> updated along with it.    I'm not sure if this is the cause of the
> problem though, since it appears that SA was updated about a year ago
> and we've only been having problems with spam for the last few weeks.
> 
> At this point i'm considering just wiping out spamassassin  and
> reinstalling it fresh and having it relearn all of the spam that we
> have been saving for a while but it seems there must be a better
> solution.   
> 
> Does anybody have any ideas on what could be wrong and how I can fix
> this?  I'm being barraged by spam complaints from our users and
> spamassassin isn't trivial to jump right into without knowing
> something more about how it works.   I've been googling and looking
> through docs and not coming up with the answer.   Any help is very
> much appreciated.     

You shouldn't need to reinstall SpamAssassin.  Just wipe out the Bayes
database(s) and recreate it with sa-learn from the spam and ham you've
been saving.  Upgrading to 3.1 would be helpful as well.  Just read the
readme and other information in the wiki to make sure there aren't any
extra steps needed.

Take a look in the SpamAssassin config directory (usually
/etc/mail/spamassassin), and show us which rulesets have been added.
You may have some old rulesets that are no longer needed and there are
probably some extra rulesets that you could add.

-- 
Bowie

Reply via email to