Sahil Tandon wrote:
>
snowjack wrote:
Is there any evidence that local.cf is getting read at all?

Good question. Where do I look for such evidence? Logs are hardly revealing.

If you first log in, or su to be the user amavis is running as, then run "spamassassin -D --lint" you should see something like this:
debug: using "/etc/spamassassin" for site rules dir
debug: using "/home/amavis/.spamassassin" for user state dir
debug: using "/home/amavis/.spamassassin/user_prefs" for user prefs file
debug: using "/home/amavis/.spamassassin" for user state dir
One of those directories should contain your local.cf, and make sure there isn't a rule in one of those user directories that can override what's in the system local.cf.


Try setting up a rule of your own in local.cf, restart amavis, and then send yourself a test message containing that exact text to see if it hits (from Hotmail or somewhere else if necessary):
full TEST_RULE /Testing if local.cf is being read/i
describe TEST_RULE Test message for local.cf
score TEST_RULE .01





Reply via email to