RE: [Exim] Verify = reverse_host_lookup

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


Once again. Wakko comes to the rescue..

To be honest, I'm not sure why I have the parial-lsearch in that definition.

There are only IP's in there and it is just a list of host.

I removed the partial-lsearch; and it works great...

Thanks again...