On 24 Jul 2005 at 21:22, Herb Martin wrote about
"RE: [exim] Problem blocking IP addr":
| > [mailto:exim-users-bounces@exim.org] On Behalf Of Fred Viles
| > Subject: Re: [exim] Problem blocking IP addresses from file lookups
|...
| > If exim.acl is a list of IPs, you should use net-lsearch.
| > lsearch assumes they are names.
|
| Could I use the simple file with just the IP (no actual
| lookup value), and would my code then be:
|...
Yes.
| That was my understanding but I still wonder if I could not
| create an artificial lookup key that includes a SPACE, e.g.,
| "1 $host_data" or something...?
Yes you can, but the key values in the file would need to be quoted.
You said you require the file to be usable with no changes, so that
won't help you. AFAIK, you can't do what you want.
- Fred