Re: [Exim] Router and interface questions

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Tamas TEVESZ
CC: exim-users
Subject: Re: [Exim] Router and interface questions
On Sun, 12 Aug 2001, Tamas TEVESZ wrote:

> yOn Sat, 11 Aug 2001, Tamas TEVESZ wrote:
>
>  >   route_list = partial-lsearch;;/etc/exim/router ${lookup{$domain}
>  >     partial-lsearch {/etc/exim/router} {$value}} byname

>
> turns out it doesn't like spaces. stripping those off, and it works.
> i still don't quite get this, if it wouldn't have been enclosed it
> curly braces then kinda ok, but...


Yes. If the second item in a route_list contains spaces, you need to put
it into quotes:

route_list = partial-lsearch;;/etc/exim/router "${lookup{$domain} \
partial-lsearch {/etc/exim/router} {$value}}" byname

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.