>https://wiki.apache.org/spamassassin/ImproveAccuracy

>I have gone through this wiki (and ones like it) at least a dozen times.
>My server is blocking about 50% of the spam, thanks to some of the
>other layers of spam protection.  It's just bayes that I can't seem to get 
>right

Are you getting any BAYES_* rules hits above 70?  If you have trained enough
spam then you should be seeing some like BAYES_99.

Make sure you know what user that your SA is running as then run this command
as that user:

sa-learn --dump magic

Often times admins accidentally train as one user like root then SA runs as
amavis or some other account so the Bayes DB is not recognized.

You can force the location of the Bayes DB by setting bayes_path following
this link:

https://wiki.apache.org/spamassassin/SiteWideBayesSetup

<https://wiki.apache.org/spamassassin/SiteWideBayesSetup>I don't have much 
experience with Amavis but I hear it's pretty good. Maybe
this will help:
http://linux.kieser.net/salearn.html

I have had success with MailScanner for almost 14 years with Postfix.
Postscreen blocks the majority of junk using Postscreen and weighted
RBLs.  This has been covered on this mailing list so search the archives.
Then I enable SHORTCIRCUIT rules for many whitelist_auth senders to
prevent my Bayes from being semi-poisoned with legit senders that
could look spammy but follow proper practices for valid unsubscribing
by end users. In the end, SA only has to scan a very small percentage
of my mail which helps the Bayesian scoring along side some custom
meta rules that I don't have to babysit a lot.

Dave







Reply via email to