procmail
[Top] [All Lists]

Re: Filtering by list of IP

2005-12-21 01:11:54
baloo(_at_)ursine(_dot_)ca schreef:

  :0:
  ?
  /dev/null

I'm not sure what to put for the ? yet, but ? should call in a list of
IPs that I don't want to hear from.

There is no need to lock /dev/null.

Where in the headers will the IPs appear that you want to block?


   OCTET     = '[0-9]+'
   RE_BADIPS = "\<(127[.]0[.]0[.]1|169[.]$OCTET[.]$OCTET[.]$OCTET)\>"

   :0:
   *$ ^Received:.*${RE_BADIPS}
   suspect


For a better OCTET, see the source code of
http://vsnag.spamless.us/

-- 
Grtz, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>