I wasn't thinking about this correctly. I just ahd to change my ldap search to:
ldap:///ou=MailAliases,dc=suretecsystems,dc=com?suretecMailAliasMember?sub?(|(cn=${quote_ldap:$local_part})(cn=${quote_ldap:[EMAIL PROTECTED])) Thanks. On 27/11/2007, Gavin Henry <[EMAIL PROTECTED]> wrote: > 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: > > [EMAIL PROTECTED] > > but I have an alias of > > [EMAIL PROTECTED] > > > so, as you can see any gavin.henry@ goes to the alias for the > magicfx.co.uk address, as my correct address is > [EMAIL PROTECTED] > > How can I tune my ldap lookups (changing/adding the correct aliases in > LDAP too) to handle: > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > Thanks. > > > > > > -- > http://www.suretecsystems.com/services/openldap/ > -- http://www.suretecsystems.com/services/openldap/ -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
