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

Top Pagina
Delete this message
Reply to this message
Auteur: Heiko Schlittermann
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Manual, current, Chapter 49 : curly brackets missing ?
Always Learning <exim@???> (Di 14 Jan 2014 22:32:02 CET):
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-some_common_configuration_settings.html
>
>
> 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;

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-