Hi,

I can't seem to find much information on rewriting incoming messages using an 
ldap lookup. Is it possible to use ldap as a source for rewriting?

For example the following rewrite rule

*[email protected] ${lookup ldap{LDAPBASEURL 
ldap:///dc=example,dc=com?proxyAddress=smtp?sub?(&(objectClass=Person)(mail=${local_pa...@${domain}))}{$value}fail}

Generates the following error:

2009-07-31 13:10:41 Exim configuration error in line 1038 of 
/usr/exim/configure:
  unknown rewrite flag character 'l' (could be missing quotes round replacement 
item)

If tried various types of quoting but get similar problems. Is this actually 
possible?


Regards,


Gareth



________________________________

The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).
-- 
## 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/

Reply via email to