InMotion Hosting Support Center

training SpamAssassin using sa-learn?

Category: Email

2013-05-19 6:32 pm EST

Hits: 933
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).

Is there any way I can do this?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



5,889 Points
2013-05-20 10:48 am EST
Thank you for your question CScott!

The <a href=""><em>sa-learn</em> documentation</a> states that <em>sa-learn</em> is a command line tool. You do not have <a href="">SSH access</a> on shared business plans, so you will not be able to run the command using shell. You may be able to <a href="">set up a cron job</a> to run the shell command using PHP. Unfortunately, we do not have anything specific on how to script this. We do have information on <a href="">how to run the cron job</a>.

Best Regards,
James R

You must login before you can post a comment about this answer.

Ah, BRILLIANT idea - thanks!
8 Points
2013-05-20 11:12 am EST
Like this Question?

Support Center Login

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!