Re: [exim] LDAP / Virtual Domains

Página Inicial
Delete this message
Reply to this message
Autor: James Davis
Data:  
Para: exim-users
Assunto: Re: [exim] LDAP / Virtual Domains
James Davis wrote:

> domainlist local_domains = @:localhost:dsearch;/etc/exim4/virtual
>
> and
>
> vdom_aliases:
>         driver = redirect
>         allow_defer
>         allow_fail
>         domains = dsearch;/etc/exim4/virtual
>         data =
> ${expand:${lookup{$local_part}lsearch*@{/etc/exim4/virtual/$domain}}}
>         retry_use_local_part
>         pipe_transport   = address_pipe
>         file_transport   = address_file


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}))}}}

but beyond that I'm still a bit confused as to what to do.

Do I need the domains line any longer? If anyone's been following my
e-mails on the list, mails for addresses not found locally are forwared
onto another mail server anyway.

What should I replace the domainlist command with?

James


--
http://www.freecharity.org.uk/ - Free hosting for charities
http://jamesd.ukgeeks.co.uk/