[exim] Re: Different ACL Condition Combinations

Pàgina inicial
Delete this message
Reply to this message
Autor: MRob
Data:  
A: exim-users
Assumpte: [exim] Re: Different ACL Condition Combinations
On 2023-05-16 12:28, Slavko via Exim-users wrote:
> Dňa 16. mája 2023 11:58:36 UTC používateľ MRob via Exim-users
> <exim-users@???> napísal:
> 
>> warn condition = ${if <condition 1>{${if <condition 2>}}fail}
>>     <do someting>
> 
> Beware, this one differs from previous two by forced fail of
> the first condition. from docs:
> 
>     if the expansion is forced to fail, the condition is ignored.
>     The effect is to treat it as true...
> 
> Thus if the first condition is false, forced fail happens with
> result of <do something> is processed, instead of skip to
> next verb...


Thanks! Shouldve been:

warn condition = ${if <condition 1>{${if <condition 2>}}{no}}
      <do someting>

Purpose of main qusetion to know if there are importnat reason NOT to do 
it one of the ways but Jeremy saying they're all the same! Thanks all


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/