Emmanuel Lesouef wrote: > > Yes, if you want to match 'test' in the Subject, you need a header rule: > > > > header LOCAL_DEMONSTRATION_RULE /test/ > > score LOCAL_DEMONSTRATION_RULE 1.000 > > describe LOCAL_DEMONSTRATION_RULE This is a simple test rule > > > > > > AFAIK there are four different types of rules: body, rawbody, header and > > full. > > In fact, I already tested that. It doesn't work either.
Well, I was too fast and didn't think. Sorry. It has to be: header LOCAL_DEMONSTRATION_RULE Subject =~ /test/ score LOCAL_DEMONSTRATION_RULE 0.001 describe LOCAL_DEMONSTRATION_RULE This is a simple test rule > I'm thinking about my local.cf is not read. Try with: spamassassin -D --local <testmail.txt 2>&1 | grep local.cf