This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

spam negative score

Hello,

we get more and more spam and I found out that there is the following line in the spam report:

-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
                            [score: 0.0000]

Can I configure (not hack) this, or can I disable bayes?

Astaro 5.211

cheers
Bernhard


This thread was automatically locked due to age.
Parents
  • Hi!
     
    Bayes can be diables only (as far as i know) from console by hacking the config file. 
    /etc/mail/spamassassin/local.cf
     
    use_bayes = 0
     
    But if you want you can make spamassassin learn that those he say is not spam infact is spam.
    What type of server do you have?
    Depending on that there are some different ways to do this.
     
    When you have a mail complete with headers and body as a textfile just place it in  
    /var/lib/nobody/.spamassassin/myspam.txt
     
    Then run this command from the samt place.
    su - nobody -- sa-learn --spam --no-sync myspam.txt
    su - nobody -- sa-learn --sync

    I hope the paths are the same for 5.111 as for 6.301
     
    Now BAYES will know them as spam. Important to know is that you will have to remove any X-Spam or headers from your own mailserver before this learning process. Othervice it will not be as efficiant.
Reply
  • Hi!
     
    Bayes can be diables only (as far as i know) from console by hacking the config file. 
    /etc/mail/spamassassin/local.cf
     
    use_bayes = 0
     
    But if you want you can make spamassassin learn that those he say is not spam infact is spam.
    What type of server do you have?
    Depending on that there are some different ways to do this.
     
    When you have a mail complete with headers and body as a textfile just place it in  
    /var/lib/nobody/.spamassassin/myspam.txt
     
    Then run this command from the samt place.
    su - nobody -- sa-learn --spam --no-sync myspam.txt
    su - nobody -- sa-learn --sync

    I hope the paths are the same for 5.111 as for 6.301
     
    Now BAYES will know them as spam. Important to know is that you will have to remove any X-Spam or headers from your own mailserver before this learning process. Othervice it will not be as efficiant.
Children
No Data