procmail
[Top] [All Lists]

Accept all mail sourced from IP address range

2006-06-23 10:26:14
I want to specially handle all mail that is ONLY from within my  network.

So let's say I have two ranges of addresses.  192.168.128.0/24 and 
205.86.56.32/27

How would I write this?

I have found this different script in my searches, but have not do the 
translation to a if ANY Recieved is not in this range, skip on down, 
otherwise route mail here.

     :0
     * ^Received:[^(]+\([^ ]+ +\[10\.20\.30\.[0-9]+\]




____________________________________________________________
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