[vox-tech] procmail question: filtering ranges of IP's
Peter Jay Salzman
vox-tech@lists.lugod.org
Sat, 9 Mar 2002 08:56:01 -0800
i got spam today at one of my ucd accounts. here's the relevent header:
Received: from server2000 (adsl-nk-A1051.hitron.net [210.201.178.35])
by landau.ucdavis.edu
doing a whois on 210.201.178.35:
inetnum: 210.201.132.232 - 210.210.132.239
netname: GREATCBF-HT-AP
descr: Great Chinese Bills Finance Corporation
descr: F11, No.111, Ming-Sheng Rd., Kaohsiung City, Taiwan, R.O.C.
country: TW
changed: adm@ht.net.tw 20010820
source: APNIC
frankly i'd be happy to filter/spamcop any email coming from the range
of IP's 210.201.132.232 to 210.210.132.239.
question:
with procmail, how does one reliably match an IP address in the headers
which belongs to this range of IP's?
pete