InMotion Hosting Support Center

training SpamAssassin using sa-learn?

Category: Email

CScott
Asked:
2013-05-19 6:32 pm EST

Hits: 788
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?

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

You must login before you can submit an answer.

OTHER ANSWERS

0

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

The <a href="http://wiki.apache.org/spamassassin/sa-learn"><em>sa-learn</em> documentation</a> states that <em>sa-learn</em> is a command line tool. You do not have <a href="http://www.inmotionhosting.com/support/website/general-server-setup/what-is-shell-access">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="http://www.inmotionhosting.com/support/website/website-troubleshooting/intensive-cron-jobs-or-scheduled-tasks">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="http://www.inmotionhosting.com/support/edu/cpanel/301-run-cron-job">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!
CScott
8 Points
2013-05-20 11:12 am EST
Like this Question?

Support Center Login

Social Media Login

   
Social Login Joomla

Need more Help?

Search

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: support@InMotionHosting.com
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!