On Wed, 14 Aug 2002, Rick Byers wrote:
> In Exim 4 the "optional" keyword has been removed. How can I make a
> failed lookup behave like a no-match response? I'm using an lsearch*
> lookup type. Do I have to come up with another approach (i.e. one big DB
> file that allways exists that includes the domain and local part)?
Instead of
data = ${lookup{$local_part}lsearch{/some/file}}
use
data = ${if exists{/some/file}{${lookup{$local_part}lsearch{/some/file}}}}
or add
require_files = /some/file
to the router.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.