[exim] LDAP and matching local_part, but different domains?

Góra strony
Delete this message
Reply to this message
Autor: Gavin Henry
Data:  
Dla: exim-users
Temat: [exim] LDAP and matching local_part, but different domains?
Hi All,

I have

LDAP_ALIASES_URL =
ldap:///cn=${quote_ldap:$local_part},ou=MailAliases,dc=suretecsystems,dc=com?suretecMailAliasMember?sub?

and

ldap_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup ldapm {LDAP_ALIASES_URL} }
file_transport = address_file
directory_transport = address_directory
pipe_transport = address_pipe


This has been running for years, all ok. But sometimes someone will
send me an e-mail to:

gavin.henry@???

but I have an alias of

gavin.henry@???


so, as you can see any gavin.henry@ goes to the alias for the
magicfx.co.uk address, as my correct address is
ghenry@???

How can I tune my ldap lookups (changing/adding the correct aliases in
LDAP too) to handle:

gavin.henry@???
gavin.henry@???

Thanks.





--
http://www.suretecsystems.com/services/openldap/