Re: [Exim] FAQ answer A0404 is wrong

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Gary Palmer
Cc: exim-users
Asunto: Re: [Exim] FAQ answer A0404 is wrong
On Wed, 20 Dec 2000, Gary Palmer wrote:

> The code you provide in example 0404 is incorrect. On the web site
> you have:
>
> condition = "${if and {eq {$sender_host_address}{}} \
>              {eq {$sender_ident}{majordom}} {yes}{no}}"

>
> it should be:
>
> condition = "${if and {eq {{$sender_host_address}{}} \
>              {eq {$sender_ident}{majordom}}} {yes}{no}}"


Er, I think it should be

condition = "${if and {{eq {$sender_host_address}{}} \
             {eq {$sender_ident}{majordom}}} {yes}{no}}"


> The {}'s around the conditions to be AND'd together are missing...


Well spotted. Just testing. :-)

> (Do I get a prize? :) )


A 50% discount on the next release of Exim. OK?

Thanks,
Philip

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