[Exim] ldap lookups from system filter ?

Top Page
Delete this message
Reply to this message
Author: Sue Tyler
Date:  
To: exim-users
Subject: [Exim] ldap lookups from system filter ?
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
Hi,

I'm having trouble getting a ldap lookup to work from a system filter. This is the code that's in my filter:

[...]
if (${lookup{"test"}ldap{ldap://localhost/cn=${quote_ldap:"test"},dc=test,dc=us}} contains "a" ) then
[...]

All attrempts to run and test this with the -bF option return the error message:
Filter error: unrecognized condition word "ldap" near line 20 of filter file

Anybody got any ideas what the syntax should look like ?
Thanks and regards

Lycos recommends Cheapflights for all your travel needs. Go to http://www.cheapflights.co.uk/?source=lycosgen

--