Re: [Exim] Question concerning lookups

Pàgina inicial
Delete this message
Reply to this message
Autor: Dennis Davis
Data:  
A: Ralf Ramge
CC: exim-users
Assumpte: Re: [Exim] Question concerning lookups
>From: Ralf Ramge <ralf.ramge@???>
>To: exim-users@???
>Subject: [Exim] Question concerning lookups
>Date: Wed, 26 Mar 2003 15:41:13 +0100


...

>Now Exim doesn't search for the hosts IP, it looks for it's FQDN. I've
>noticed the same behaviour after leaving the ACL definition in it's
>original state and using
>
>hostlist reject_from_hosts = dbm;/etc/exim/dbm/blacklist_hosts.dbm
>
>or
>
>hostlist reject_from_hosts = lsearch;/etc/exim/blacklist_hosts
>
>and I'm quite confused. Should I just take a rest and try to regain
>the capability of clear thinking? Did I understand something wrong
>when reading the docs concerning "hostlist", "domainlist" and dbm
>lookups? Or is this indeed some kind of misbehaviour?


Been there, and got burned myself :-(

I believe this is covered on pages 68 & 69 of the manual. Start
about 60% down page 68.

You need to use things like:

hostlist reject_from_hosts = net-dbm;/etc/exim/dbm/blacklist_hosts.dbm

and:

hostlist reject_from_hosts = net-lsearch;/etc/exim/blacklist_hosts

if you want to search by IP address.