Re: [Exim] (dirlist) lookups

Top Page
Delete this message
Reply to this message
Author: tcurdt
Date:  
To: Philip Hazel
CC: Torsten Curdt, exim-users
Subject: Re: [Exim] (dirlist) lookups
On Fri, 24 Dec 1999, Philip Hazel wrote:
> On Thu, 23 Dec 1999, Torsten Curdt wrote:
> > I have
> > ..
> > host_accept_relay = lsearch;/somefile
> > ..
> >
> > will the return code of the lookup
> > result in a acceptance (or denial)
> > of the relaying host?
>
> If the lookup succeeds (i.e. it return OK, with some data) the host is
> accepted (the data is ignored). If the lookup fails (i.e. returns FAIL)
> the host is not accepted.
>
> > The point for me is... on my new lookup:
> > Do I need to match by myself or is it
> > possible to just return an item list
> > (like the ordinary host_accept_relay
> > = /somefile) and let exim make the
> > decision?
> >
> > So I could just return a list of IPs e.g.?
>
> No! I'm afraid you have misunderstood how this works. The returned data
> is not used. Only the existence of the host name as a key is tested.


Well, are there any exim specific routines for DNS name lookups
in exim I should use then?
--
Torsten