spam assasin tweaks not working

Discussion in 'Installation/Configuration' started by adeptt, Dec 17, 2010.

  1. adeptt

    adeptt New Member

    Hi,

    We are currently ISPConfig2. Newest version

    Problem:
    We have made some tweaks to the Spam Assassin file
    50_scores.cf to increase the score of

    score BAYES_99 0 0 5.0 5.0

    score RCVD_IN_BL_SPAMCOP_NET 0 3.188 0 3.960 # n=0 n=2

    score RCVD_IN_PBL 0 3.509 0 3.905 # n=0 n=2

    and a couple of others.

    We have restarted spam Assassin so the changes can take place but we are still getting spam emails that have a score like this

    No, score=4.7 required=7.0 tests=BAYES_99,RCVD_IN_PBL,RDNS_NONE, XMAILER_MIMEOLE_OL_5B79A autolearn=no version=3.2.5

    If you look at the above score it should be at least 7.5 since we made the bayes_99 5.0 and the PBL 3.5 changes

    So for some reason our spam assassin changes are not getting processed. Can someone let us know how to get our new scores to take action?

    We are also looking for any other spam assassin tweaks since we do get a lot of spam.

    Thoughts?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    In which exact file did you made the changes (full path)?
     
  3. adeptt

    adeptt New Member

    directory

    /usr/share/spamassassin/50_scores.cf

    than you for any assistance
     
    Last edited: Dec 17, 2010
  4. falko

    falko Super Moderator Howtoforge Staff

    ISPConfig 2 comes with its own SpamAssassin. The score files are in /home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin/.
     
  5. adeptt

    adeptt New Member

    when i go to /home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin/ the only files in there are

    user_prefs.template
    sa-update-pubkey.txt
    languages

    There is no other files. i suspect the score files are somewhere else?
     
  6. falko

    falko Super Moderator Howtoforge Staff

    That's strange. Did you check if maybe they are in /home/admispconfig/ispconfig/tools/spamassassin/etc/ or its subdirectories?
     
  7. adeptt

    adeptt New Member

    we found 2 instances of the scores files

    /usr/share/spamassassin/50_scores.cf
    /var/lib/spamassassin/3.002005/updates_spamassassin_org/50_scores.cf

    I beleive the /var directory is the correct one running but i wanted to show you in case anything is wrong. Does this seem like the correct one?
    /var/lib/spamassassin/3.002005/updates_spamassassin_org/50_scores.cf
     
  8. adeptt

    adeptt New Member

    how can we tell which spam assassin is being used? is there a mail config file that tells us which spam assail files we are using?

    cheers
    todd
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Hm...
    Can you try
    Code:
    /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update --no-gpg
    ? Does it put any score files in /home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin/?
     

Share This Page