Re: [EXIM] Fuzzy matching with ldap

Startseite
Nachricht löschen
Nachricht beantworten
Autor: araqnid
Datum:  
To: exim-users
Betreff: Re: [EXIM] Fuzzy matching with ldap
On Thu, Jun 03, 1999 at 06:17:07PM +0100, Steve Sargent wrote:
> Is it possible to use exim's in built ldap facilities to do fuzzy
> matching on a mail address against the X500 directory server?


Something like:

ldap_fuzzy:
driver = aliasfile
search_type = ldap
query = "ldap://ldap-server/?mail?sub?(cn~=$local_part)"
add_headers = "X-LDAP-Fuzzy: ldap_fuzzy $local_part"

I've just been playing with this :} Trying to get exim to use Lotus
Notes' LDAP service, what a nightmare. The fuzzy matches can sometimes
be a bit startling, hence the extra header.

If you do "search_type=ldapm", then the incoming message will be sent
to all entries that fuzzy-match, which may or may not be what you
want. (I wouldn't want it, personally...)

SRH
-- 
Steve Haslam      http://www.arise.demon.co.uk/      steve@???
Debian GNU/Linux Maintainer                               araqnid@???
I am the first and the last I claim this land
I am the lost and the hungry I need this land                     [covenant]


--
*** Exim information can be found at http://www.exim.org/ ***