combining two ldap lookups via "or" in ACL condition

"Olaf Hopp (SCC) via Exim-users" <[email protected]>
Newsgroups gmane.mail.exim.user
Organization KIT / SCC
Message-ID <[email protected]>
Hi there,
I have two ldap lookups like
	condition = ${lookup ldap {<queryOne>}{0}{1}}}
	condition = ${lookup ldap {<queryTwo>}{0}{1}}}
which work fine for itself.

Now I want to combine them via "OR" so the condition
should be true, if one of them matches. So I tried

	condition = ${if or {\
                   { ${lookup ldap {queryOne}{0}{1}}} } \
                   { ${lookup ldap {queryTwo}{0}{1}}} } \
         }}
but if fails with
      failed to expand ACL string "${if or {{ ${lookup ldap [...] : condition name expected, but found "${lookup ldap {N" inside "or{...}" condition
Can you give a hint ?

Regards, Olaf

-- 
Karlsruher Institut für Technologie (KIT)
Scientific Computing Center (SCC)

Dipl.-Geophys. Olaf Hopp

Zirkel 2
Gebäude 20.20, Raum 158
76131 Karlsruhe

Telefon: +49 721 608-48009
E-Mail: [email protected]
Web: www.scc.kit.edu

Sitz der Körperschaft:
Kaiserstraße 12, 76131 Karlsruhe

KIT - Die Forschungsuniversität in der Helmholtz-Gemeinschaft


-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
smime.p7s (application/pkcs7-signature, 4.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.