Fwd: Regular Expressions

Scott Penrose scottp at dd.com.au
Fri Apr 12 00:05:35 CDT 2002


Hey guys

No idea why but this message got bounced to me (owner currently of 
melbourne-pm) because it contained the word 'help' somewhere in the title
Literally I received:
	Subject: BOUNCE melbourne-pm at pm.org:  Admin request: 
/^subject:\s*help\b/i

Anyway, it is of course a legitimate question so here it is...

Scott

> Reply-To: "Andrew Gray" <sysadmin at netconnect.com.au>
> From: "Andrew Gray" <agray at netconnect.com.au>
> To: <melbourne-pm at pm.org>
> Subject: Help with regular expressions
> Date: Thu, 11 Apr 2002 10:07:29 +1000
>
> Hi guys/gals,
>
> I have an anti spam filter that uses regular expressions to take out 
> mail
> based on From: addresses
>
> an example is
> .*[0-9]{5,10}\@aol.*
>
> which filters all spammer type addresses like fred123456789 at aol.com, 
> but I
> have a very few addresses that it is catching that I would like to let
> through, so my question is, how can I write a rule with exceptions
>
> ie ban *123456789 at aol.* except LauraK894820558 at aol.com
>
> Andrew
---
Scott Penrose
Open source and Linux Developer
http://linux.dd.com.au/
scottp at dd.com.au




More information about the Melbourne-pm mailing list