Jeremy Harris via Exim-users <[email protected]> wrote:
> One idea that might be worth exploring is to build local_domains
> from a pair of domainlists.  Have one with just the ldap lookup,
> and one with everything else:
> 
> 
> LOCALDOM = /etc/exim4/localdomains
> domainlist d1 = @:localhost:LOCALDOM
> domainlist d2 = 
> ldap;ldap::///ou=mail,dc=do,dc=main?mailDomain?sub?mailDomain=$domain
> domainlist local_domains = +d1 : +d2

Why would that not be tainted? The $domain string "*" would still
be good for a surprise, so taint checking is really needed here,
as is quoting.

Michael

-- 
## List details at https://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