[Mimedefang] regex filter unwanted words
Kelson
kelson at speed.net
Tue Jan 23 12:07:54 EST 2007
John Rudd wrote:
> if($Subject =~ m/\b(sex|microsoft|Watch)\b/ ) {
> return action_bounce("bad subject");
> }
>
> However, as others have pointed out, it's not generally a good idea.
> Spammers change their subjects often enough that you'll have trouble
> keeping up. Plus, you'll be very prone to false-positives.
Agreed. One might say, "Watch out for false positives."
--
Kelson Vibber
SpeedGate Communications <www.speed.net>
More information about the MIMEDefang
mailing list