Re: Troubles writing rules

2007-06-18 Thread Matt Kettler
Arne Hoffmann wrote: > 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. >> > > Yes, if you want t

Re: Troubles writing rules

2007-06-18 Thread Emmanuel Lesouef
Le lundi 18 juin 2007 à 03:45 -0700, Loren Wilton a écrit : > > header LOCAL_DEMONSTRATION_RULE/test/ > > score LOCAL_DEMONSTRATION_RULE1.000 > > describeLOCAL_DEMONSTRATION_RULEThis is a simple test rule > > > > AFAIK there are four different types of rules: body, rawbod

Re: Troubles writing rules

2007-06-18 Thread Loren Wilton
header LOCAL_DEMONSTRATION_RULE/test/ score LOCAL_DEMONSTRATION_RULE1.000 describeLOCAL_DEMONSTRATION_RULEThis is a simple test rule AFAIK there are four different types of rules: body, rawbody, header and full. Yes, if you want to match 'test' in the Subject, you need

Re: Troubles writing rules

2007-06-18 Thread Arne Hoffmann
Emmanuel Lesouef wrote: > So, the local.cf file is read when using the CLI but not when Amavis > invokes SA. I don't know too much about amavisd-new, but on my machines amavis does read /etc/spamassassin/local.cf. But the file has to be readable for the user that amavisd-new runs as. You could

Re: Troubles writing rules

2007-06-18 Thread Emmanuel Lesouef
Le lundi 18 juin 2007 à 10:49 +0200, Arne Hoffmann a écrit : > 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_RULE1.000 > > > describe

Re: Troubles writing rules

2007-06-18 Thread Arne Hoffmann
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_RULE1.000 > > describeLOCAL_DEMONSTRATION_RULEThis is a simple test rule > > > > > > AFAIK

Re: Troubles writing rules

2007-06-18 Thread Emmanuel Lesouef
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

Re: Troubles writing rules

2007-06-18 Thread Arne Hoffmann
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 emai