Re: [exim] help with if-then conditional logic

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] help with if-then conditional logic
On 28/09/2021 17:01, v via Exim-users wrote:
> I'm trying to add a condition to an ACL that would say:
>
> if $varA is-not-blank and $varB is-not-blank and $varA not equal $varB


condition = ${if def:varA}
condition = ${if def:varB}
condition = ${if != {$varA}{$varB}}



That's it. There's an implicit "and" given the sequence of three separate
ACL conditions.
--
Cheers,
Jeremy