[exim] Re: Different ACL Condition Combinations

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Slavko
Dátum:  
Címzett: exim mailing list
Tárgy: [exim] Re: Different ACL Condition Combinations
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...

regards


-- 
Slavko
https://www.slavino.sk/


--
## 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/