Re: [exim] Manual, current, Chapter 49 : curly brackets miss…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Always Learning
Date:  
À: Exim
Sujet: Re: [exim] Manual, current, Chapter 49 : curly brackets missing ?

On Tue, 2014-01-14 at 22:39 +0100, Heiko Schlittermann wrote:

> Always Learning (Di 14 Jan 2014 22:32:02 CET):


> > I would like to ask if there is a set of curly brackets missing on
> >
> >    ${if match {$return_path}{^(.+?)-request@???\$}\
> >       {$1-request+$local_part=$domain@???}fail}



> No, the 'fail' is a forced failure. This is not the same as returning
> the string literal 'fail'.
>
>     # forced failure
>     exim -be '${if eq{a}{b}{is equal}fail}'
> vs
>     # a string, just interpreted as FALSE in some condition
>     exim -be '${if eq{a}{b}{is equal}{false}}'
> vs
>     # just a string 'fail'
>     exim -be '${if eq{a}{b}{is equal}{fail}}'

>
> In some places there is a difference between returning the literal
> 'false' and a force failure;


Schöne vielen dank. Thank you very much. I continue to discover how
incredibly flexible Exim is. I am Always Learning and am grateful for
your enlightening and helpful clarification.


Paul.

Ich begrüße Sie auch.

in der EU ist die beste Zukunft für alle, einschließlich der verrückten
Führern und ihren Freunden in London.