Re: [exim] self-describing ACLs?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Eric A. Hall
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] self-describing ACLs?

Jeremy Harris said:
> On 07/18/2010 11:02 PM, Eric A. Hall wrote:
>> I would prefer to have one block that spits up an "accept" or
>> "deny" and then have exim use the result as the ACL, if possible.
>
> deny    condition = ${if eq {$acl_m_foo} {deny}}


That's what I'm trying to get away from since the statement hat to be
repeated for 'accept' and again for 'drop' and again for ...

I'm looking for something like:

$acl condition = ${regexp that returns allow/deny/whatever from a file}

so that I only need one statement block

-- 
Eric A. Hall                                  http://www.eric-a-hall.com/
Network Technology Research Group                    http://www.ntrg.com/
Internet Core Protocols          http://www.oreilly.com/catalog/coreprot/