On Mon, 11 Sep 2000, John Horne wrote:
> localhost_number = ${if eq {MAILHUB_TYPE} {master} {1} \
> {${if eq {MAILHUB_TYPE} {slave} {2} {0} } } }
>
>
> However, this gives a configuration error:
>
> 2000-09-11 16:42:59 Exim configuration error
> localhost_number value is not a number: 2
>
> It's got to be something simple, but it looks okay to me.
Try removing the spaces before the final two }. What you have is
equivalent to
localhost_number = "2 "
(I guess it should remove trailing spaces for tidiness.)
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.