Re: Expansion failure

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Ilya Ketris
CC: exim-users
Subject: Re: Expansion failure
On Wed, 18 Dec 1996, Ilya Ketris wrote:

>    Another "Segmentation violation" config:

>
> --------------------------------------------------
> local_domains:
>         driver = smartuser,
>         require_files = /etc/exim/local-domains/$domain;
>         no_panic_on_fail,
>         more,
>    new_address = {lookup {$local_part}
>        lsearch {/etc/exim/local-domains/$domain}
>        {$value} fail} 
> --------------------------------------------------


Three problems with that!

(1) The "more" option is a generic option, and should appear before the
semicolon. I can't believe Exim ran with that director - when I try, it
fails to recognize "more" and complains about a configuration error.

(2) There's a typo in the manual which I have only just noticed. There
is no panic_on_fail option - it is actually called panic_expansion_fail.
Apologies. Will be fixed in next edition.

(3) You have made a typo of your own - you have missed out the $ before
the start of the lookup entry. When I try to run like this, I get a
suitable error message, not a crash.

I fixed all those, and I can't make it crash. There must be something
else that is different about your system and/or configuration. Can you
send me more details of the configuration? Oh, and what version of Exim
are you running?

Philip

--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714