Re: [Exim] exceptions to host_lookup

Top Page
Delete this message
Reply to this message
Author: Pollywog
Date:  
To: exim-users list
Subject: Re: [Exim] exceptions to host_lookup
On 06-Aug-99 Philip Hazel wrote:
> On Fri, 6 Aug 1999, Pollywog wrote:
>
>> This is what I put in my exim.conf (Exim ver 3.02):
>>
>> host_lookup = "!/var/mail/block/host_lookup-except : \
>>      !/var/mail/block/net_lookup-except : \
>>      0.0.0.0/0"

>>
>> Does this have any chance of working? It appears to work when I test
>> it,
>> to the extent that 'exim -bh <ip_add_ress>' shows that the exception
>> was
>> located, but it also appears that the lookup if performed anyway.
>
> What's in the files? If you have any wild-carded host names, it has to
> do the lookup, in order to find the name to compare. Thus, putting
> wild-carded names into host_lookup is a useless activity. You should
> confine the entries to IP addresses.


net_lookup-except has addresses of the form:

123.456.478.0/24
467.689.245.0/24


host_lookup-except looks like this:

123.478.345.8
445.267.298.4


thanks

--
Andrew