training SpamAssassin using sa-learn?

Avatar
  • Answered
I'm trying to improve the effectiveness of my SpamAssassin installation and I'd like to be able to train my Bayes filters using the sa-learn command (so that it can scan the folder I use to retain messages that should've been flagged as spam).

http://spamassassin.apache.org/full/3.3.x/doc/sa-learn.html#getting_started

Is there any way I can do this?
Avatar
jamesr
Thank you for your question CScott! The sa-learn documentation states that sa-learn is a command line tool. You do not have SSH access on shared business plans, so you will not be able to run the command using shell. You may be able to set up a cron job to run the shell command using PHP. Unfortunately, we do not have anything specific on how to script this. We do have information on how to run the cron job. Best Regards, James R