Re: [exim] Host list files

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Ian FREISLICH
Datum:  
To: Tim Jackson
CC: exim-users
Betreff: Re: [exim] Host list files
Tim Jackson wrote:
> On Mon, 27 Jun 2005 08:57:49 +0100
> Martyn Drake <martyn@???> wrote:
>
> > It's been _far_ too long since I've delved into the depths of Exim
> > for myself, and was wondering how I specify a list of IP addresses
> > and/or subnets within a file for use with a !hosts ACL. For example
> > do I use:
> >
> > !hosts = /etc/file
> > !hosts = lsearch;/etc/file
> > !hosts = partial-lsearch;/etc/file
>
> "!hosts = /path/to/file" will do in the simple case, where /path/to/file
> contains things like:
>
> 1.2.3.4
> 1.2.3.4/29
> something.example.com
>
> (although bear in mind the caveats in the manual about using hostnames
> mixed with IPs when DNS lookups may fail etc. - if you are going to
> mix them in the same file, you probably want to put IPs first)


I didn't know you could do that. Maybe I just read the caveats and
gave up on it.

I use:

net-iplsearch;path

Ian

--
Ian Freislich