Re: [Exim] FAQ answer A0404 is wrong

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Gary Palmer
CC: exim-users
Sujet: 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.