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:[EMAIL PROTECTED])}}
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=<[EMAIL PROTECTED]> temporarily rejected RCPT
<[EMAIL PROTECTED]>: 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/
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/