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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Roman Odaisky
日付:  
To: 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.