Re: [Exim] lookup like a host list?

Top Page
Delete this message
Reply to this message
Author: Marc Haber
Date:  
To: exim-users
Subject: Re: [Exim] lookup like a host list?
On Tue, 5 Mar 2002 09:10:59 +0000 (GMT), Philip Hazel
<ph10@???> wrote:
>There is no way of doing this at present. I see what you are trying to
>do, though that isn't really a "lookup" like the others. For a start,
>you are implying linear processing of a file rather than key=>value
>indexing. Also, host list matching doesn't return a value (in general),
>so this really is a different kind of beast altogether.


Yes, it is actually a match.

>At present, you'll have to do this with a series of lookups for the IP
>address, the masked IP address, and the host name. They can all look in
>the same file, of course. However, the benefit is that you can make it a
>DBM or cdb file, and thereby get reasonable performance for large lists.


I see. Thanks for enlightening me ;)

I will probably evaluate using embedded perl.

May I have a match_hostname feature added to the wish list?

Greetings
Marc

--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29