Do I need to manually train spamassassin using sa-learn?

Normally you do not. Plesk has its own spam training script which is run daily to learn off messages in each users SPAM folder (Roundcube and Horde also have plugins to use this folder when you mark a message as spam). The task is called "ExecuteSpamtrain". To run the script manually SSH into your server and run as root:

plesk daily ExecuteSpamtrain

The actual script that is run:


You can find more information at:

  • spam, sa-learn, bayes
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Why isn't autolearning working for me (autolearn=no) ?

Lots of people seem to be confused by the "autolearn=no" statement in the default X-Spam-Status...

I get the a 502 gateway error when clicking on the application. How can I fix this?

This can usually be fixed by just restarting the Plesk interface:/etc/init.d/psa restart

How can I fix the error WARNING: Ignoring deprecated option AllowSupplementaryGroups after upgrading to ClamAV 1.00?

The AllowSupplementaryGroups option was deprecated in ClamAV 1.00. If this option is present in...

How can I fix the error: spamass-milter[27944]: Could not extract score from <> ?

When you look at your email log you see: spamass-milter[27944]: Could not extract score from...

How can I stop encrypted archives from being allowed though ClamAV?

For ClamAV 0.100 and belowUnder Warden -> Settings -> Scanning Settings -> Block...