On 25 Sep 2005 at 12:13, OpenMacNews wrote about
    "[exim] dbm vs net-iplsearch for mix":

|...
| i suppose a two-pass lookup string approach, matching 1st for address, then 
| range, is doable,

I don't think so.  How would you convert the connecting IP address to 
a string that looks like a CIDR range with the correct number of 
masked bits?

| but at that point is it simpler/faster just to do the 
| net-iplsearch on the text list?
| 
| bottom/line, is dbm lookup appropriate/efficient for such mixed lists?

No.  From spec.txt:

  * iplsearch: The given file is a text file containing keys and data. A key is
... (snip description)

    Warning 1: Unlike most other single-key lookup types, a file of data for
    iplsearch can not be turned into a DBM or cdb file, because those lookup
    types support only literal keys.

- Fred





-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to