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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Harris
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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