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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Roman Odaisky
Datum:  
To: exim-users
Betreff: [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.