Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-13-2009, 05:33 AM
Senior Member
 
Posts: 52
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.
Reply With Quote
  #2 (permalink)  
Old 03-14-2009, 02:32 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #3 (permalink)  
Old 03-14-2009, 07:12 AM
Senior Member
 
Posts: 52
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.
Reply With Quote
  #4 (permalink)  
Old 03-14-2009, 09:37 AM
Moderator
 
Posts: 7,928
Default

It shouldn't IMHO ... do you have SA installed on the server so that you can run it through with -D and --lint ???
__________________
Reply With Quote
  #5 (permalink)  
Old 03-16-2009, 10:12 AM
Senior Member
 
Posts: 52
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?
Reply With Quote
  #6 (permalink)  
Old 03-19-2009, 08:34 AM
New Member
 
Posts: 3
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.