procmail
[Top] [All Lists]

Re: looking for clue, checking for recorded ip address

2000-03-23 15:48:57
++ 23/03/00 21:07 +0100 - Rejo Zenger:
The thing i was asking was, is 212.223.034.0 a valid address? 
Lichtensteiger already answered that question by private mail saying it
is legal but rare.

The updated recipe for that one is now:

  :0
  * ^Received.*\[\/[0-9\.]*([3-9][0-9][0-9]|2[6-9][0-9]|25[6-9])[\.0-9]*
  {
          nl
          nl      = ${notice+"$NL"}
          notice  = "$notice${nl}X-Note: IP ${MATCH} is invalid."
  }

Any comments?

        -Rejo.


-- 
= Rejo Zenger                                           
rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl
= http://mediaport.org/~sister (and my_urls.html)               PGP: see headers
--------------------------------------------------------------------------------