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 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 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