Re: [Exim] does a net-*-dbm exist?

Top Page
Delete this message
Reply to this message
Author: Andreas J Mueller
Date:  
To: Christian Vogel
CC: exim-users
Subject: Re: [Exim] does a net-*-dbm exist?
Hi Christian!

> Is there some shorthand for specifying every single mask
> which I have failed to find in the documenation/faq so I
> could just write "net(whatever)dbm;FILE" ?


Philip has already answered your question, but allow me to suggest
another alternative:

     hostlist xxx = /path/to/host-file


This uses an external file, which can contain IP addresses, netblocks
and (wildcarded) host names, just like any inline hostlist. Of
course, the file will have to be read completely the first time a
lookup is done, but the result may be cached depending on your config.

I know that it's not terribly efficient if the list is really large,
but doing 24 DBM lookups to find a netblock isn't very efficient,
either.

Andy