Re: [Exim] Exim 4 - problem mixing acls with hostlists

Góra strony
Delete this message
Reply to this message
Autor: John Horne
Data:  
Dla: exim-users
Temat: Re: [Exim] Exim 4 - problem mixing acls with hostlists
On 28-Mar-2002 at 10:41:37 Philip Hazel wrote:
> On Thu, 28 Mar 2002, John Horne wrote:
>
>> > hostlist internal_hosts = PLYM_NET : 127.0.0.0/8
>> > hostlist rbl_hosts = !+internal_hosts : ! ISP
>> >
>> Having thought about it, I haven't tried it yet, would the above work?
>> Doesn't '!+internal_hosts' expand to:
>>   ! 141.163.0.0/16 : ! 127.0.0.0/8 : *          (note the implied ':*')

>
> Don't think in terms of "expand" except for macros. The "implied :*"
> happens only for an individual list. An external ! doesn't force it into
> a list that is being referenced.
>

Ah, okay. So it is the list itself which has (or has not) the implied ':*',
and the use of '!' on a list name does not 're-evaluate' the list and hence
cause an implied ':*', which is what I (incorrectly) thought.

> Does this help?
>

Yup :-)

> (I realize it's hellish complicated.)
>

Oh yes :-) I think I've grasped it now though.


Many thanks, and Happy Easter,

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers