Re: [Exim] ! lsearch

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: robert rotman
Fecha:  
A: Philip Hazel
Cc: exim-users
Asunto: Re: [Exim] ! lsearch
On Thu, 9 Nov 2000, Philip Hazel wrote:

> On Thu, 9 Nov 2000, robert rotman wrote:
>
> > What is the syntax for a "negative lsearch"
> > (host_accept_relay = !/etc/norelay : 123.123.123.123/16).
> >
> > host_accept_relay = !lsearch;/etc/norelay : 123.123.123.123/16
> > did not work.
>
> How did it "not work"? What was the output from a test with -bh? The
> second syntax is right for a negative lsearch; the first syntax is right
> for a negative interpolated file.
>


the -bh rejects relay if "!/etc/norelay" is given and accepts it
when "!lsearch;/etc/norelay" is given with the same content in
/etc/norelay.

/etc/norelay contains a list of ip adresse:
123.123.123.1
123.123.123.2
....

robert