Re: [Exim] Localhost_number problem

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: John Horne
Cc: Exim Users List
Asunto: Re: [Exim] Localhost_number problem
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.