Le lundi 18 juin 2007 =C3=A0 03:45 -0700, Loren Wilton a =C3=A9crit :
> > 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 an=

d
> > full.
> > Yes, if you want to match 'test' in the Subject, you need a header rule=

:
>=20
> Generally true, but not in this case. The subject is prepended to the bo=

dy,=20
> so either a header rule for Subject or a body rule will hit on it. (But =

not=20
> a rawbody rule, I believe.)
>=20
>=20
> To the OP: did you restart SA so it will pick up the new rules you wrote?=

=20
> In your case that would probably mean restarting Amvis, unless it has som=

e=20
> command to restart SA internally.
>=20
> Loren
>=20
>=20


Great ! Works like a charm.

I had to restart amavis in order to force the local.cf rules to be taken
care of.

Thanks all.

--=20
Emmanuel Lesouef
CRBN | DSI
t : 0231069671
m : e.lesouef@crbn.fr