Re: [exim-dev] calling an ACL from an expansion

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-dev
Betreff: Re: [exim-dev] calling an ACL from an expansion
On 2012-06-12 09:50, Janne Snabb wrote:
> On 2012-06-12 04:32, Jeremy Harris wrote:
>> In a fit of coding insanity I ran up the following:

[...]
>> Is there any value in this going forward?
>

[...]
> This makes me think: perhaps the facility could also allow multiple
> arguments, as in ${acl {name}{argument1}{argument2}{argument3}}.
>
> The subroutine/sub-acl could receive these arguments in $arg1, $arg2,...
> variables and also supply $argn which gives the number of supplied
> arguments?


It could be done. Question: would you also want the existing modifier
extended to support

    acl = acl_name arg1 arg2 ...


?

--
Jeremy