SpamAssassin ignoring local.cf

OliverScott

Verified User
Joined
May 4, 2007
Messages
57
I am fairly new to DA and to SpamAssassin (and linux in general), but had things working nicely under SA 3.1.8. I did an upgrade to 3.2.0 last night and since then SA seems to have been ignoring my customisations in the local.cf file in /etc/mail/spamassassin

I had changed the scores of a couple of rules, for instance:

score DIGEST_MULTIPLE 0.500
score USER_IN_WHITELIST -25.000

Though these line are both still there and not preceded by a #, they are being scored at the default values of 0.0 and -100 in the headers of the emails (the headers do show the 3.2.0 version of spamassassin). I tried moving USER_IN_WHITELIST to the top of local.cf and it is still ignored.

I have restarted exim, updated exim to the latest version, updated DA to the latest version, made sure all the SA prerequisites are up to date (for instance HTML::Parser), etc and it still doesn't work properly. It also seems to be ignoring some custom SARE rules I had downloaded, but this is less of an issue, and may just be that they have yet to see a message which makes them fire.

I am running DA on a VPS using CentOS4.4

Any help/advice would be much appreciated!
 
OK thought I would update this thread in case it is of use to anyone else...

I have managed to sort the problem though I still don't know what was causing it.

Solution (basically using brute force and ignorance):

Stop SpamD, Delete EVERYTHING relating to SpamAssassin, update DA to latest version, reinstall SA using spam.sh script from DA (which is now using SA 3.2.0), re-create my custom local.cf file.

All working OK now.
 
Back
Top