On Fri, Oct 25, 2002 at 03:57:53AM +0200, [EMAIL PROTECTED] wrote:
> I want to block all messages with VIAGRA, FREE, SEX, PORN, etc in the subject of a 
>message. I would set the score to a very high value.
> 
> How would I define the syntax in the local.cf file? Would the score also be in the 
>local.cf file?

I wouldn't do this if I were you, things like "free" will false positive
a lot, but it's your config. :)

header MY_RULE_1        Subject =~ /\b(?:viagra|free|sex|porn)\b/i
describe MY_RULE_1      I don't like these words.
score MY_RULE_1         20

All of it would be in local.cf.

-- 
Randomly Generated Tagline:
3 dreaded words when making love: "Is that it?"

Attachment: msg09410/pgp00000.pgp
Description: PGP signature

Reply via email to