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

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: 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