This is what I was wondering. We don't want to have to run a
computationally-expensive body rule unless we need to. No choice though, I
guess. Thanks for your help!


> -----Original Message-----
> From: John Hardin [mailto:jhar...@impsec.org]
> Sent: Monday, June 24, 2013 1:20 PM
> To: users@spamassassin.apache.org
> Subject: Re: "Chain" rules?
> 
> On Mon, 24 Jun 2013, Andrew Talbot wrote:
> 
> > Is there a way to "chain" rules together such that one rule will only
> > fire if another is hit?
> >
> > Specifically, we have a client that is getting hit with a bunch of
> > messages that are just links, but the links contain sex words. We want
> > to do a body scan for a list of sex words if and only if the "body
contains
> only a link"
> > rule we have is triggered.
> >
> > I tried to get this to work with meta rules but it seems like it won't
> > do it. Is there currently a way to do this sort of conditional check?
> 
> Unfortunately you can't control whether or not a rule is *executed*, you
can
> only control whether or not it contributes to the message's overall score.
> 
> --
>   John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>   jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
>   key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
>    Look at the people at the top of both efforts. Linus Torvalds is a
>    university graduate with a CS degree. Bill Gates is a university
>    dropout who bragged about dumpster-diving and using other peoples'
>    garbage code as the basis for his code. Maybe that has something to
>    do with the difference in quality/security between Linux and
>    Windows.                           -- anytwofiveelevenis on Y! SCOX
> -----------------------------------------------------------------------
>   10 days until the 237th anniversary of the Declaration of Independence

Reply via email to