[Mimedefang] Scanning inbound mail only
David F. Skoll
dfs at roaringpenguin.com
Tue Dec 10 13:28:01 EST 2002
On Tue, 10 Dec 2002 listuser at neo.pittstate.edu wrote:
> Could someone help me with a regex to match an entire /24 with the
> exception of a single IP?
Isn't that a little complicated? Why not:
if ($RelayAddr ne "192.168.2.28" and $RelayAddr =~ /^192\.168\.2\./) {
# This runs for any hosts in 192.168.2/24 EXCEPT for .28
} else {
# This runs for .28 and all other hosts
}
--
David.
More information about the MIMEDefang
mailing list