Re: [Exim] Reverse_Host_lookup again...

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Kevin Reed
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Reverse_Host_lookup again...
On Mon, 1 Sep 2003, Kevin Reed wrote:

> hostlist exempt_lookup_hosts =
> partial-lsearch;/usr/local/exim/exempt-lookup-hosts
>
> (exempt-lookup-hosts containing) 12.158.33.111
>
>         deny    message = Reverse Host Lookup Failed
>                 hosts = ! +exempt_lookup_hosts
>                 !verify = reverse_host_lookup


I'm afraid you have got into a chicken/egg loop here. You don't want to
do a reverse host lookup for certain hosts. However, you have specified
those hosts by a partial-lsearch of the name of the host. In order to
find the name of the host for the partial-lsearch, Exim has to do a
reverse lookup to find the name.

So it is doing a reverse lookup in order to find out whether it should
do a reverse lookup...

It only makes sense to specify the exempt hosts by IP address.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book