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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Roman Odaisky
Data:  
Para: exim-users
Asunto: [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.