Results 1 to 4 of 4

Thread: [SOLVED] Change DSPAM value

  1. #1
    drozzini's Avatar
    drozzini is offline New Member
    Join Date
    May 2010
    Location
    Brazil
    Posts
    3
    Rep Power
    5

    Default [SOLVED] Change DSPAM value

    Greetings!


    I'm testing ZCS6 in a virtual machine an everything is going great! But i'm facing problems with spam.... i was testing e training spamassassin and dspam... the bayes values i think i was woo soft, so i raised a little in local.cf and dropped the tag and kill percent in administration ui ...

    but aftear learn, dspam is putting a high score for message.... i wanted to soft a little, because it score surpass my kill tag ....

    anyone now how to setup a new score to dspam ? i used in other solutions to put this im local.cf

    Code:
    header DSPAM_SPAM X-DSPAM-Result =~ /^Spam$/
    describe DSPAM_SPAM DSPAM claims it is spam
    score DSPAM_SPAM 4.0
    
    header DSPAM_HAM X-DSPAM-Result =~ /^Innocent$/
    describe DSPAM_HAM DSPAM claims it is ham
    score DSPAM_HAM -0.5
    but it seems not to work... and i caught that the test in spamassassin is DSPAM:Spam

    i tried to grep DSPAM:Spam in /opt/zimbra but no result...

  2. #2
    drozzini's Avatar
    drozzini is offline New Member
    Join Date
    May 2010
    Location
    Brazil
    Posts
    3
    Rep Power
    5

    Default

    Greetings!!!


    I've found what i was looking for =D


    The score was set direct in the amavisd script (/opt/zimbra/amavisd/sbin/amavisd)

    I done was change the line:
    Code:
    $spam_score = $dspam_result eq 'Spam' ? 10 : -1;  # fabricated
    to:
    Code:
    $spam_score = $dspam_result eq 'Spam' ? 4 : -2;  # fabricated

  3. #3
    ewilen's Avatar
    ewilen is offline Moderator
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    Thanks for posting that. I think it may solve a problem that others have reported with DSPAM.

    EDIT: Actually, there may be a way to moderate the DSPAM scores by changing an option in amavisd.conf.in. See Enabling DSPAM
    Last edited by ewilen; 05-21-2010 at 11:31 AM.

  4. #4
    imx
    imx is offline Special Member
    Join Date
    Jun 2009
    Posts
    131
    Rep Power
    6

    Default

    Nice one guys, i opted for the change to the absolute score - simply setting it to 0 for spam for now; will monitor it and see how it goes.

    However, passing through a few innocent/spam mails it seems to be doing what it should

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Enabling DSPAM
    By osiris in forum Administrators
    Replies: 80
    Last Post: 09-20-2012, 04:10 PM
  2. zmtrainsa + dspam = broken on 5.0.16GA network edition
    By shankwc in forum Administrators
    Replies: 1
    Last Post: 09-01-2011, 01:31 PM
  3. DSPAM Issue
    By bubarooni in forum Administrators
    Replies: 2
    Last Post: 05-21-2010, 10:44 AM
  4. Enabling dspam, razor, pyzor etc
    By ianw1974 in forum Installation
    Replies: 7
    Last Post: 10-24-2009, 11:37 AM
  5. Configuring and using DSPAM
    By JoshuaPrismon in forum Administrators
    Replies: 55
    Last Post: 03-02-2007, 09:08 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
  •