On Thu, 4 Feb 1999, Sebastian Kiesel wrote:
> This means that I need an own entry in the route_list for
> every host, right?
>
> user@host1 should be qualified to user@??? while
> user@host2 should be qualified to user@???
> so I can`t see how to use wildcards.
You could try using rewriting to solve this, but you would need an entry
for each host. You could put them in a file and use something like
*@* ${lookup{$domain}lsearch{/qualify/list}{$local_part@$value}fail}
> What I didn`t tell clear enough (sorry) is that this router shouldn`t
> use a route_list but use the DNS resolver with a search line in its
> /etc/resolv.conf to qualify adresses user@host to user@???
Ah! What you want is a search_parents option for the domainlist router.
There isn't one a present, but it would be very easy to provide it,
along with qualify_single, as for lookuphost.
I will put this on the Wish List, and as it is only a few minutes work,
it may get done quickly. I was getting ready to release Exim 2.12, but
an obscure bug has turned up, so I'm going to delay while I tidy a few
more things up and maybe I can sneak this in, if it really does turn out
to be as easy as I think.
> My idea was to remove that "transport = remote_smtp" line from
> the lookuphost router to get the mail passed to subsequent
> domainlist routers after being qualified but this only caused
> a configuration error.
I'm afraid that facility isn't available.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***