Learning Spam in ISPConfig 3 Question

Discussion in 'HOWTO-Related Questions' started by darinpeterson, May 12, 2013.

  1. darinpeterson

    darinpeterson HowtoForge Supporter

  2. till

    till Super Moderator

    This tutorial should work, spamassassin must be disabled as it is not used.
     
  3. darinpeterson

    darinpeterson HowtoForge Supporter

    I have been using the Learning Spam setup since this post in April, and it doesn't seem to be learning anything. Even though when I run the shell script it says that is has learned tokens, I keep getting the same spam in my inbox...

    Is there something else that I should be doing for it to eliminate the spam emails?
     
  4. till

    till Super Moderator

    Which spam 2 score do you use n the policy that is activated for this mailbox?
     
  5. darinpeterson

    darinpeterson HowtoForge Supporter

    I initially read "score" as "core"... Anyway, I don't know what score that I'm using. The email filter is set to "Trigger happy".
     
    Last edited: Jun 27, 2013
  6. darinpeterson

    darinpeterson HowtoForge Supporter

    Till, is this what you needed to answer the question, or is it something else?
     
  7. darinpeterson

    darinpeterson HowtoForge Supporter

  8. biggdog

    biggdog New Member

    #!/bin/bash
    /usr/bin/sa-learn --spam /var/vmail/*/*/.Junk/cur/*
    /usr/bin/sa-learn --ham /var/vmail/*/*/.good/cur/*


    Mine is

    #!/bin/bash
    /usr/bin/sa-learn --spam /var/vmail/biggdog.biz/babedh-dhra/Maildir/.Junk/cur/*
    /usr/bin/sa-learn --ham /var/vmail/biggdog.biz/babedh-dhra/Maildir/cur/*

    chmod o+x /bin/sa_learn

    sa_learn

    Thus adding ??
    bayes_path /var/lib/amavis/.spamassassin/bayes

    If we were to use this script shouldn't we also have to reload amavis?

    Now I am not using the cron job simply because I am hand picking my spam and ham and I MUST make sure all of the emails are indeed spam or ham.
     
    Last edited: Nov 13, 2013
: spamassassin

Share This Page