Spam Assassin Doesn't Seem To Be Learning

Mark Sapiro mark at
Thu Sep 14 17:37:45 UTC 2017

On 09/14/2017 09:29 AM, Quintin S. Giesbrecht wrote:
> It seems that SpamAssassin is not learning. When I run sa-learn --spam
> on an email, it says it learned from 1 message, etc…but if another
> message comes through that is identical, the spam score remains the
> same.  Any idea what I did wrong?

It's sensitive to the user id that runs it (every user has its own bayes
data). You have to ensure you run sa-learn as the user that MailScanner
runs as. Using the -u/--username option to sa-learn isn't enough.

Mark Sapiro <mark at>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the MailScanner mailing list