Re: [Exim] host_accept_relay

Góra strony
Delete this message
Reply to this message
Autor: Dave C.
Data:  
Dla: Philip Hazel
CC: Andrew, exim-users
Temat: Re: [Exim] host_accept_relay
Hrm. I'm not sure if specifying that as part of the search-type makes
sense, since the search types are a specification of what to search in
and what protocol? to use.. What you are looking up seems like it
should be seperate - I know this is sort of a step backwards, but

hostip_accept_relay and hostname_accept relay

seem to be the most logically way of making the distinction.


On Mon, 7 Aug 2000, Philip Hazel wrote:

> On Sat, 5 Aug 2000, Dave C. wrote:
>
> > So apparently if an lsearch is used in a host list, it must be host
> > names.
>
> Yes. The default lookup uses host names. If you want to search on IP
> addresses you must use one of the net- formats. This should definitely
> be in the FAQ; it comes up a lot. I will add it soon.
>
> A host has two attributes: a name and an IP address. You have to tell
> Exim which one you want to use as the key for a lookup. (It *could* be
> written to try both, but that, IMHO, would be a wasteful way of
> proceeding.) The availability of net- searches was added to Exim after
> the original search was made available. Perhaps if I was doing it again
> I wouldn't have plain search names - I would force you to use either
> ip-lsearch or name-lsearch so that the distinction was clearer.
>
>
>
>


--