Re: [EXIM] Fuzzy matching with ldap

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Steve Sargent
Data:  
Para: exim-users
Assunto: Re: [EXIM] Fuzzy matching with ldap
Thanks for that. I should have been a bit more explicit. What we are trying
to do is to send back a list of possible matches when a message fails, so
the matches returned from ldap would need to be incorporated into the
failure message.




>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/ ***





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