------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=747 Summary: ${extract in the untaken branch of a conditional Product: Exim Version: 4.66 Platform: Other OS/Version: Windows Status: NEW Severity: bug Priority: medium Component: ACLs AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [email protected] As per the exim-users list: ================================================================================ # exim -be '${if match{1}{(1)} {${extract {$1}{} {true} }} {false} }' true # exim -be '${if match{1}{(2)} {${extract {$1}{} {true} }} {false} }' Failed: first argument of "extract" must not be empty # Why does it fail the second time? Surely it should have just printed out the word "false" ? The match doesn't succeed so surely the second time the ${extract} shouldn't even be attempted? ================================================================================ Tony Finch's response was: ================================================================================ I think this is a bug in the way Exim handles ${extract in the untaken branch of a conditional. ================================================================================ 4.66 is the latest running version of exim I have to test this with. Mike -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
