How to train SpamAssassin?




  • Avatar

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

  • Avatar
    Konstantin Annikov (Edited )


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

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

    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