Re: [exim] ACL syntax question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Paul Dekkers
Dátum:  
Címzett: John Horne
CC: exim-users
Tárgy: Re: [exim] ACL syntax question
Hi,

John Horne wrote:

>Secondly, using a named ACL is there a difference between:
>
>      acl = ! some_other_acl
>    ! acl = some_other_acl

>
>We currently don't use named ACL's but am about to do so. As far as I
>can tell (read) the 'some_other_acl' acts like any other ACL and returns
>'accept' or 'deny'. As such a '!' will just negate that answer, so the
>above 2 statements are again the same. Correct?
>
>

It's not always accept or deny that is returned... You can have "defer"
or "drop" for instance. How would you invert that in your nested acl?! ;-)

Paul

P.S. I've never seen nested acl's that where negated. There is no
example about that in the spec (or in my exim book), so I would assume
you cannot do that, but I'm not sure.