Le lundi 18 juin 2007 à 10:37 +0200, Arne Hoffmann a écrit : > Emmanuel Lesouef wrote: > > > body LOCAL_DEMONSTRATION_RULE /test/ > > score LOCAL_DEMONSTRATION_RULE 1.000 > > describe LOCAL_DEMONSTRATION_RULE This is a simple test rule > > > > The problem is that the rule doesn't seems to be parsed. > > > > For example, here are the spamassassin headers for an email that > > contains "test" in the subject : > > > > X-Spam-Score: -0.167 > > X-Spam-Level: > > X-Spam-Status: No, score=-0.167 required=5 tests=[AWL=0.386, > > BAYES_00=-2.599, RCVD_IN_SORBS_DUL=2.046] > > > > Any good advices on this ? > > 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. I'm thinking about my local.cf is not read. Does it helps if I say I'm using Amavis ? -- Emmanuel Lesouef CRBN | DSI t : 0231069671 m : [EMAIL PROTECTED]