On Tue, 2009-07-07 at 09:43 +0200, Peter Daum wrote:

> Is there a simpler and better way to specify that all tests in a rule
> have to match? (or, just for symmetry, to say that a test should
> not match)?
> 
describe  RULE  Combined tests
header    __R1  From=~/something/
header    __R2  User-Agent=~/something else/
meta      RULE  (__R1 && __R2)
score     RULE  2.0

You need double underscores to make a rule invisible.
There is a convention of prefixing a local rule name with your initials,
e.g. PD_RULE. I think that is a good convention because it makes your
rules easier to recognize and also groups them together (rules lists in
X-Spam headers are sorted alphabetically).


Martin



Reply via email to