1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

training does not "hold" emails

Discussion in 'Plesk for Windows - 8.x and Older' started by jfreger, Jan 15, 2006.

  1. jfreger

    jfreger Guest

    Some help please!

    When I try to train emails there are never any emails listed under: "Messages in your mailbox". It'slike spam assassin isn't retainging any email for me to train.

    Other than that it is filtering, I basically just cannon use the training feature.
  2. matija

    matija Guest

    There has been numerous threads on this topic. Try to search the forum a bit...
  3. jbuts

    jbuts Guest

    You can use sa-learn tool but it's not recommended because it requires advanced knowledge for this tool and wrong utilizing can cause serious consequences for spamassassin.
    Here is one tip for your case:
    You can use provided solution for manual utilizing of sa-learn

    > > sa-learn --spam c:\program files\swsoft\plesk\mail servers\mail enable\domains\domain.com\mailroot\mailbox\inbox

    This command puts learnt bayes files to
    C:\Documents and Settings\Administrator\.spamassassin.
    But personal mail box SA configuration files a stored at
    C:\Program Files\SWsoft\Plesk\Additional\SpamAssassin\SpamFilterUserConfigsPath\mailbox@domain.net\.spamassassin

    so you should copy them manually.
    Commonly learn algorithm can be described as the following:
    1. Copy from C:\Program Files\SWsoft\Plesk\Additional\SpamAssassin\SpamFilterUserConfigsPath\mailbox@domain.net\.spamassassin to C:\Documents and Settings\Administrator\.spamassassin.
    2. sa-learn --spam c:\program files\swsoft\plesk\mail servers\mail enable\domains\domain.com\mailroot\mailbox\inbox
    3. Copy from C:\Documents and Settings\Administrator\.spamassassin back to C:\Program Files\SWsoft\Plesk\Additional\SpamAssassin\SpamFilterUserConfigsPath\mailbox@domain.net\.spamassassin

    Note: This feature should be performed only under human monitoring and control.

    To browse generated bayes database please use:

    C:\>sa-learn --dump --dbpath "C:/Program Files/SWsoft/Plesk/Additional/SpamAssassin/SpamFilterUserConfigsPath/mailbox@domain.net/.spamassassin"

    Spamassassin under Plesk for Windows has more poor management interface than Plesk for Linux because Plesk for Windows supports several mail servers and every of them have quite different mail message structure and full mechanism is still not completed to the end.