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

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