Re: 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]>
On 9/23/25 1:04 PM, Jeremy Harris via Exim-users wrote:
> On 2025/09/23 11:46 AM, Olaf Hopp (SCC) via Exim-users wrote:

>> ${lookup ldap {queryOne}{0}{1}}}

Ok there was a copy&paste mistake just for the mail to this list
There ist one '}" to much at the end of the line

> Have a look at the "bool" condition, which converts strings to conditions.

Thanks Jeremy, it works now with

     condition = ${if or {\
                   { bool{${lookup ldap {queryOne}{0}{1}}}} \
                   { bool{${lookup ldap {queryTwo}{0}{1}}}} \
         }}

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.