Results 1 to 8 of 8

Thread: [SOLVED] Improve Spam filtering

  1. #1
    natediggs is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    21
    Rep Power
    7

    Default [SOLVED] Improve Spam filtering

    Hello--

    My Zimbra server has been doing a mediocre job at classifying unwanted spam emails so I decided to use some of the techniques I found in the Wiki page "Improving Anti-spam system." So I went through the instructions on there and installed Razor2 and went to change the settings in the local.cf file in /opt/zimbra/conf/spamassassin/local.cf and found that not only is the local.cf file read only but that every file in the directory is read only. Is that normal? Can I just chmod the local.cf file and make changes to it?

    Thanks for any help

    Nate

  2. #2
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Yeah, you can do that or if you're using vim you can use :wq! to override the read-only status as long as you're editing as root. Whatever you do, it will change back to read-only once you restart amavisd. Kind of annoying, but yes that's normal, at least what I've seen.

  3. #3
    natediggs is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    21
    Rep Power
    7

    Default

    So I changed my local.cf and have improved my spam scoring but I'm still having some interesting problems.

    1. I tried to change the default spam score from 8 to 5 in my local.cf using the line:
    required_score 5.0

    But when I go to "show original" on an email it still says that the required score is 8.

    2. I am getting a "AWL=-5.031" in some messages that are definitely spam which is keeping them from being classified as such. I have tried to figure out where this AWL score is coming from but I can't find anything that is setting that value. I also can't find anything on it searching Google.

    Any help on either item is greatly appreciated. Thanks!

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

  5. #5
    natediggs is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    21
    Rep Power
    7

    Default

    Perfect, thanks uxbod!

  6. #6
    natediggs is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    21
    Rep Power
    7

    Default

    Just to note, on my Zimbra install the files are located at:

    /opt/zimbra/data/amavisd/.spamassassin/

  7. #7
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Quote Originally Posted by brained View Post
    I just blow away the list and it'll automatically rebuild itself.

    Stop amavis

    rm -f /opt/zimbra/amavisd/.spamassassin/auto-whitelist*

    Start amavis
    Quote Originally Posted by natediggs View Post
    Just to note, on my Zimbra install the files are located at:

    /opt/zimbra/data/amavisd/.spamassassin/
    Yup as of 5.0.3+: Bug 24364 - new data directory

  8. #8
    rusty is offline Loyal Member
    Join Date
    Nov 2007
    Posts
    93
    Rep Power
    7

    Default

    Quote Originally Posted by natediggs View Post
    So I changed my local.cf and have improved my spam scoring but I'm still having some interesting problems.

    1. I tried to change the default spam score from 8 to 5 in my local.cf using the line:
    required_score 5.0

    But when I go to "show original" on an email it still says that the required score is 8.

    2. I am getting a "AWL=-5.031" in some messages that are definitely spam which is keeping them from being classified as such. I have tried to figure out where this AWL score is coming from but I can't find anything that is setting that value. I also can't find anything on it searching Google.

    Any help on either item is greatly appreciated. Thanks!
    I had the same issue but found I can change the required score value in /opt/zimbra/conf/amavisd.conf.in

    This leaves me wondering what other settings I implemented in the Improving Spam Filtering Wiki, that have not taken effect. This includes settings found in /opt/zimbra/conf/spamassassin/local.cf and my setup of razor, pyzor, etc.

    Does anyone know the answer to this? What other controls is amavisd.conf over-riding? Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Improving spam filtering
    By inigoml in forum Administrators
    Replies: 67
    Last Post: 09-10-2009, 12:23 AM
  2. Replies: 2
    Last Post: 05-14-2008, 05:16 AM
  3. Spam Filtering
    By Bernardo in forum Administrators
    Replies: 7
    Last Post: 03-12-2008, 09:17 AM
  4. Order of operations - SPAM and filtering
    By SpEnTBoY in forum Administrators
    Replies: 0
    Last Post: 04-24-2007, 06:01 AM
  5. Replies: 2
    Last Post: 12-20-2006, 08:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •