Re: [exim] Problem blocking IP addresses from file lookups

Top Page
Delete this message
Reply to this message
Author: Fred Viles
Date:  
To: exim-users
Subject: Re: [exim] Problem blocking IP addresses from file lookups
On 24 Jul 2005 at 20:31, Herb Martin wrote about
    "[exim] Problem blocking IP addresse":


|...
| deny        message = IP $host_data Blacklisted
|      !authenticated = *
|               hosts = lsearch;/etc/exim.acl
| 
| I have tried using each of these formats for the file:
| [format attempt #1: just the IP values]
| 82.233.203.32
| 72.26.223.6
| 68.184.113.146


If exim.acl is a list of IPs, you should use net-lsearch. lsearch
assumes they are names.

| My real goal is to test an existing file (for another email
| system) in THIS format:
|
| 1 82.233.203.32
| 1 72.26.223.6
| 1 68.184.113.146


Can't help you there, AFAIK the key has to come first.

- Fred