On 4/02/2004 at 09:02:56, Jeff Gojkovich wrote: > /^Subject:.*(xxx|fuck|teensex|suck|clit|hgh|viagra|penis|cum|Phentermine|Viagra)/ > REJECT 554 ACL 5 This Message Content was REJECTED!
> I don't see a match for it though. The subject was simply "RE: documents" do_cum_ents. :) Word filtering like that will drop anything which contains one of the bad letter sequences like documents, assume, Scunthorpe, etc. You could use: /^Subject:.*[[:space:]](stuff)[[:space:]]/ (regexp) /^Subject:.*\s(stuff)\s/ (pcre) to prevent that (requires the letter sequence to be a word on its own), but you still won't catch [EMAIL PROTECTED] and the myriad other variations spammers are using to avoid this sort of simple filtering - your chances of actually finding the word "Viagra" itself in a spam these days are pretty slim. Cheers, Evan
