Hi,
Stan Novogroudski escribió:
> Hallo list.
[...]
> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> hide data = ${lookup ldap{user="cn=servers,dc=mydc,dc=de" pass=secret \
> ldaps://ldap-m.bln.myserver.de/ou=bln,ou=People,dc=mydc,dc=de?uid?sub?\
> (mail=${lc:$local_part}@$domain)}}
> user = mail
> file_transport = address_file
> pipe_transport = address_pipe
[...]
> I have some users with a same email-adresses but with different
> mailboxes. If i send a mail on some of this "specific" adresses, exim
> says :
>
> *snip*
> 2006-01-26 17:41:47 H=client235.bln.myserver.de [10.1.2.235] U=1000
> F=<stan@???> temporarily rejected RCPT
> <test@???>: LDAP search: more than one entry (2) was
> returned (filter not specific enough?)
> *snip*
ldap query type gets a single entry from the ldap directory, just change
it to ldapm and it should do what you need.
Sections 9.4 and 9.13 of the spec have more info about this.
Regards,
--
Angel Marin
http://anmar.eu.org/