Always Learning <[email protected]> (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}{^(.+?)[email protected]\$}\
>       {[email protected]}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)-

Attachment: signature.asc
Description: Digital signature

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to