Results 1 to 6 of 6

Thread: Spamassassin scores not updating

  1. #1
    peng1can is offline Senior Member
    Join Date
    Aug 2007
    Location
    Indianapolis
    Posts
    54
    Rep Power
    7

    Default Spamassassin scores not updating

    I hate to ask about this because it should be so simple, but I've been fighting this for 2 days now with no luck. I recently moved my server to new hardware, and ever since then none of my custom scores work in spamassassin anymore. A few examples are:

    score URIBL_JP_SURBL 3.0
    score URIBL_WS_SURBL 3.0
    score URIBL_AB_SURBL 3.0

    I've tried these in both /opt/zimbra/conf/salocal.cf.in and /opt/zimbra/conf/spamassassin/local.cf to no avail. The permissions on the files appear to be reasonable:
    -r--r----- 1 zimbra zimbra 4881 Mar 11 17:38 /opt/zimbra/conf/salocal.cf
    -r--r--r-- 1 zimbra zimbra 5488 Mar 11 09:25 /opt/zimbra/conf/spamassassin/local.cf


    I've tried commenting out sections of my custom scores a bit at a time to ensure there's not a typo anywhere throwing off the entire file, and I've not found anything that way either. The really perplexing bit is that my whitelist lines seem to be working, so it must be something I'm doing wrong the with score lines and I'm just not seeing it. Any help would be appreciated!

    On a barely-related note... does anyone have a spamassassin rule that will match an email address (preferrably the recipient's own address) in the subject line of an email. At least 75% of the spam I'm getting lately has my email in the subject line.

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

    Default

    Make the changes to /opt/zimbra/conf/salocal.cf.in and then restart ZCS. salocal.cf gets over-written everytime ZCS is restarted, so to be persistent you need to update the .in file. Note, that when you upgrade they will be over-written aswell so keep a diff file handy

  3. #3
    peng1can is offline Senior Member
    Join Date
    Aug 2007
    Location
    Indianapolis
    Posts
    54
    Rep Power
    7

    Default

    From my post... "I've tried these in both /opt/zimbra/conf/salocal.cf.in and /opt/zimbra/conf/spamassassin/local.cf to no avail."

    I guess I didn't mention it, but yes I restart the services on the mta box after every change as well.

    Can a defective rule somewhere up in the chain cause this? I'm downloading a handful of rule sets through sa-update.

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

    Default

    It shouldn't IMHO ... do you have SA installed on the server so that you can run it through with -D and --lint ???

  5. #5
    peng1can is offline Senior Member
    Join Date
    Aug 2007
    Location
    Indianapolis
    Posts
    54
    Rep Power
    7

    Default

    spamassassin --lint --siteconfigpath /opt/zimbra/conf/spamassassin/ currently passes fine (I've still got my modifications in /opt/zimbra/conf/spamassassin/salocal.cf... unless there's a good reason not too, I'll probably leave it there based on dmwtractor's recommendations).

    I've verified that custom rules and whitelists I place in either location work fine, but score adjustments do not.

    There was a bug along these lines a while ago, but that was resolved a few versions back, and I'd expect to see others complaining if there was still a bug floating around. Anyone have any other reasons why the score adjustments won't take?

  6. #6
    devries is offline New Member
    Join Date
    May 2008
    Posts
    3
    Rep Power
    7

    Default

    You aren't the only one seeing it.

    Previously, changes in salocal.cf.in for me made it into salocal.cf, but not into /otp/zimbra/conf/spamassassin/local.cf.

    Now the changes don't even propagate from salocal.cf.in to salocal.cf, nor did local.cf reflect the zimbra default settings on an initial install on our test box with 5.0.13 as a clean install.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra ignoring custom spamassassin scores
    By xaos in forum Administrators
    Replies: 0
    Last Post: 10-28-2008, 07:30 AM
  2. migrate20070809-Signatures.pl?
    By j.mc in forum Installation
    Replies: 4
    Last Post: 06-11-2008, 09:52 AM
  3. Replies: 1
    Last Post: 05-13-2008, 05:50 AM
  4. postfix build error while building Zimbra source
    By anuradha_mihsra in forum Developers
    Replies: 6
    Last Post: 07-19-2007, 10:22 AM
  5. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM

Posting Permissions

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