Re: [exim] LDAP / Virtual Domains

Página Inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Para: James Davis
CC: exim-users
Assunto: Re: [exim] LDAP / Virtual Domains
On Tue, 15 Nov 2005, James Davis wrote:

> > vdom_aliases:
> >         driver = redirect
> >         domains = dsearch;/etc/exim4/virtual

>
> Slowly trudging through this. I think I need to replace the lookup with
> data = ${lookup ldap
> {{ldap://localhost/dc=jolt,dc=co,dc=uk?uid?sub?(|(mail=${local_part}@${domain})(gosaMailAlternateAddress=${local_part}@${domain}))}}}


Looks plausible to me.

> Do I need the domains line any longer?


It probably isn't necessary, though keeping it will reduce the load on
your LDAP server.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}