Mailing List Archive

Is possible to use ldap queries in rewrite configuration?
Hello,
is there a way to use ldap to make domain aliases ? for example. i had
domain foo.bar and i want that all mail to bar.foo got rewriten to
foo.bar.
so user@bar.foo is rewriten to user foo.bar and the local delivered.
i need this for incoming SMTP only.
is rewrite configuration the only way or can i use a director?
config examples will be really helpful.

Thanks in advance.

P.D.: i'm using exim 3.36 and openldap.

--
Marcelo Bartsch
mbartsch@netglobalis.net
www.netglobalis.net

PGP Fingerprint :
877E 3A56 F523 B44A 3260 8F83 8916 E158 6100 F721