Re: [exim] self-describing ACLs?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dave Evans
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] self-describing ACLs?
On Tue, Jul 20, 2010 at 09:16:06AM -0400, Eric A. Hall wrote:
>
> On 7/20/2010 8:12 AM, Jeremy Harris wrote:
> > On 07/19/2010 02:15 PM, Eric A. Hall wrote:
>
> > Then have one snippet for each word, taking the appropriate action
> > (using my example as a template).
>
> I'm trying to get one snippet *total* rather than one per result.
>
> It seems this isn't possible, which is what I suspected, but I thought I
> should ask. Thanks for the replies.


Still not quite sure what you're asking, but in case it helps: assign the
thing in question to some acl_m_ variable, then invoke a macro (defined
earlier) which uses that variable.

e.g. (untested)

    require set acl_m_acl_result = ${some complex thing ...}
    APPLY_ACL_RESULT


then in another acl,

    require set acl_m_acl_result = ${more complex stuff ...}
    APPLY_ACL_RESULT


Defining APPLY_ACL_RESULT is left as an exercise, etc.

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey