Docs bug? Was: Re: [exim] combining authentication methods

Pàgina inicial
Delete this message
Reply to this message
Autor: Giuliano Gavazzi
Data:  
A: exim-users
Assumptes vells: Re: [exim] combining authentication methods
Assumpte: Docs bug? Was: Re: [exim] combining authentication methods

On 7 Jun 2005, at 15:50, Sam Michaels wrote:

>
> http://www.exim.org/exim-html-4.50/doc/html/spec_11.html#IX971


the above link reads:
> or {{<cond1>}{<cond2>}...}
>
> The sub-conditions are evaluated from left to right. The condition
> is true if any one of the sub-conditions is true. For example,
>
> ${if or {{eq{$local_part}{spqr}}{eq{$domain}{testing.com}}}...
>
>
> When a true sub-condition is found, the following ones are parsed
> but not evaluated. If there are several “match” sub-conditions the
> values of the numeric variables afterwards are taken from the first
> one that succeeds.
>
>


that means that numeric variables afterwards are taken from the last
one evaluated. Fine.

>
> and {{<cond1>}{<cond2>}...}
>
> The sub-conditions are evaluated from left to right. The condition
> is true if all of the sub-conditions are true. If there are several
> “match” sub-conditions, the values of the numeric variables
> afterwards are taken from the last one. When a false sub-condition
> is found, the following ones are parsed but not evaluated.


numeric values are taken from the last one evaluated here too, I
guess, but this is not the same as the last one, as the spec states.
Expanding: The two are the same only when no false condition is found
or the false condition is the last one.



Correct?



g