Re: [exim] Host list files

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tim Jackson
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Host list files
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)


Tim