Re: [Exim] Verify = reverse_host_lookup

Top Page
Delete this message
Reply to this message
Author: Wakko Warner
Date:  
To: Kevin Reed
CC: exim-users
Subject: Re: [Exim] Verify = reverse_host_lookup
> 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

>
> exim -d+expand -bh 12.158.33.111


> >>> processing "deny"
> >>> check hosts = ! +exempt_lookup_hosts
> >>> sender host name required, to match against

      ^^^^^^^^^^^^^^^^^^^^^^^^^

> >>> partial-lsearch;/usr/local/exim/exempt-lookup-hosts
> >>> looking up host name for 12.158.33.111


partial-lsearch is going by the hostname which does not exist for the host
you're checking against. You can either
1) hostlist exempt_lookup_hosts = /usr/local/exim/exempt-lookup-hosts
2) hostlist exempt_lookup_hosts = net-partial-lsearch;/usr/local/exim/exempt-lookup-hosts

I really don't see the advantage of using a partial search. I believe #1
would be best suited for what you want to accomplish.
--
Lab tests show that use of micro$oft causes cancer in lab animals