[exim] ${if or{{$acl_m_var}{...}}}

Top Page
Delete this message
Reply to this message
Author: Roman Odaisky
Date:  
To: exim-users
Subject: [exim] ${if or{{$acl_m_var}{...}}}
Greetings,

I have an ACL variable that is either empty or 1 which is used to store a
certain condition. I want to test for one of two conditions, one of which is
the variable. I can use “condition = $acl_m_var”, but I can’t have, for
example, ${if or{{$acl_m_var}{something_else}}}. I could, of course, use
eq{$acl_m_var}{}, but I want to handle any values “condition = ...” can
handle, including 0, “no” and “false”.

Any ideas?

--
TIA
Roman.