[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: regexp spam filter



On Mon, 20 May 2002 14:19:28 -0700, Alan Su wrote:

>the following regexp *should work:
>
> 217\.78\.(6(4|5|6|7|8|9)|7(0|1|2|3|4|5|6|7|8|9))\.[0-9]+
>
snip
>Gary Turner wrote (Mon, 20 May 2002 16:11:00 -0500 ):
<snip>
>|> I want
>|>to block a Nigerian domain (I wonder why?) whose IP block is 217.78.64.0
>|>- 217.78.79.255.
<snip>


My thanks, Alan and Colin.  My own efforts looked much like Colin's
examples.  I still feel that they are the more concise/elegant way to
go.  There must be some syntactical error I am missing (from the
viewpoint of Agent's handling of regexp's).  That calls for another
session of RTFM. :)  As it happens, neither of Colin's examples worked.
(And, I don't see why not.)

Alan's, OTOH, did work, and is in my kill filter.  I suppose that this
proves the old 'whack it back 'til it works' theorem---or, simplify,
simplify, simplify.
--
gt
It is interesting to note that as one evil empire (generic) fell,
another Evil Empire (tm)  began its nefarious rise. -- me
Coincidence?  I think not.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: