How to train SpamAssassin

Follow

Comments

4 comments

  • Avatar
    b_p

    Are there details on how spamtrain works? Which e-mails / folders does it consider to be ham or spam?

  • Avatar
    Konstantin Annikov (Edited )

    Hello, 

    Plesk is using sa-lern utility to train SpamAssasin. The description of the utility is available in its documentation: 

         https://spamassassin.apache.org/full/3.1.x/doc/sa-learn.html

    And bayes algorithms (which are used in SpamAssasin) are described on another documentation page:

         https://wiki.apache.org/spamassassin/BayesInSpamAssassin

    Here is the quote:

         The Bayesian classifier in Spamassassin tries to identify spam by looking at what are called tokens; words or short character sequences that are commonly found in spam or ham. 

    If you need more details regarding that, please contact SpamAssasin developers. 

  • Avatar
    John Bertin

    Whenever I enter "/usr/local/psa/bin/sw-engine-pleskrun" in SSH, the console just hangs and returns nothing. Did I missing anything?

  • Avatar
    Alexandr Redikultsev

    Hi, @John Bertin.

    By default output is empty, however you can enable Plesk debug and run the command again in case you want to see what is actually happening.

Please sign in to leave a comment.

Have more questions? Submit a request