X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9bfb7e1bec2b3b6022c2e7b42df9ac606693dcfd..f1be21cf0b8b97a64dfe17f2ca05bb4b9efe8d32:/test/stderr/0002 diff --git a/test/stderr/0002 b/test/stderr/0002 index 8bf8f886f..9e575693f 100644 --- a/test/stderr/0002 +++ b/test/stderr/0002 @@ -78,9 +78,92 @@ LOG: MAIN PANIC ┌considering: no}} ├──expanding: no └─────result: no - ├──expanding: match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}} + ├──expanding: a.b.c └─────result: match_address: no ->>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (main: expansion test) terminating with rc=0 >>>>>>>>>>>>>>>> +Exim version x.yz .... +configuration file is TESTSUITE/test-config +admin user + /considering: primary_hostname: $primary_hostname + |--expanding: primary_hostname: $primary_hostname + \_____result: primary_hostname: myhost.test.ex + /considering: match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + /considering: abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + |--expanding: abcd + \_____result: abcd + /considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} + |--expanding: \N^([ab]+)(\w+)$\N + \_____result: ^([ab]+)(\w+)$ + |--condition: match{abcd}{\N^([ab]+)(\w+)$\N} + |-----result: true + /considering: $2$1}fail} + |--expanding: $2$1 + \_____result: cdab + |--expanding: match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + \_____result: match: cdab + /considering: match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + /considering: wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + |--expanding: wxyz + \_____result: wxyz + /considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} + |--expanding: \N^([ab]+)(\w+)$\N + \_____result: ^([ab]+)(\w+)$ + |--condition: match{wxyz}{\N^([ab]+)(\w+)$\N} + |-----result: false + /---scanning: $2$1}fail} + |--expanding: $2$1 + |-----result: + \___skipping: result is not used + |failed to expand: match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + |---error message: "if" failed and "fail" requested + \failure was forced + /considering: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + /considering: 1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + |--expanding: 1 + \_____result: 1 + /considering: 1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + |--expanding: 1 + \_____result: 1 + |--condition: eq {1}{1} + |-----result: true + /considering: yes}{${lookup{xx}lsearch{/non/exist}}}} + |--expanding: yes + \_____result: yes + /---scanning: ${lookup{xx}lsearch{/non/exist}}}} + /---scanning: xx}lsearch{/non/exist}}}} + |--expanding: xx + |-----result: xx + \___skipping: result is not used + /---scanning: /non/exist}}}} + |--expanding: /non/exist + |-----result: /non/exist + \___skipping: result is not used + |--expanding: ${lookup{xx}lsearch{/non/exist}} + |-----result: + \___skipping: result is not used + |--expanding: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + \_____result: yes + /considering: match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}} + /considering: a.b.c}{a.b.c}{yes}{no}} + |--expanding: a.b.c + \_____result: a.b.c + /considering: a.b.c}{yes}{no}} + |--expanding: a.b.c + \_____result: a.b.c +LOG: MAIN PANIC + no @ found in the subject of an address list match: subject="a.b.c" pattern="a.b.c" + |--condition: match_address{a.b.c}{a.b.c} + |-----result: false + /---scanning: yes}{no}} + |--expanding: yes + |-----result: yes + \___skipping: result is not used + /considering: no}} + |--expanding: no + \_____result: no + |--expanding: a.b.c + \_____result: match_address: no +>>>>>>>>>>>>>>>> Exim pid=pppp (main: expansion test) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... configuration file is TESTSUITE/test-config admin user @@ -111,7 +194,7 @@ admin user ┌considering: -oMt sender_ident = $sender_ident ├──expanding: -oMt sender_ident = $sender_ident └─────result: -oMt sender_ident = me ->>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (main: expansion test) terminating with rc=0 >>>>>>>>>>>>>>>> 1999-03-02 09:44:33 no host name found for IP address V4NET.11.12.13 Exim version x.yz .... configuration file is TESTSUITE/test-config @@ -171,7 +254,7 @@ sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1] ident=me) ┌considering: -oMt sender_ident = $sender_ident ├──expanding: -oMt sender_ident = $sender_ident └─────result: -oMt sender_ident = me ->>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (main: expansion test) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=pppp @@ -195,7 +278,7 @@ host in helo_verify_hosts? no (option unset) host in helo_try_verify_hosts? no (option unset) host in helo_accept_junk_hosts? no (option unset) using ACL "connect1" -processing "deny" +processing "deny" (TESTSUITE/test-config 42) check hosts = <\n partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch \n 1.2.3.4 sender host name required, to match against partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch looking up host name for V4NET.0.0.1 @@ -254,7 +337,7 @@ host in helo_verify_hosts? no (option unset) host in helo_try_verify_hosts? no (option unset) host in helo_accept_junk_hosts? no (option unset) using ACL "connect2" -processing "deny" +processing "deny" (TESTSUITE/test-config 45) check hosts = net-lsearch;TESTSUITE/aux-fixed/0002.lsearch search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch" search_find: file="TESTSUITE/aux-fixed/0002.lsearch" @@ -284,79 +367,79 @@ search_tidyup called >>> host in helo_try_verify_hosts? no (option unset) >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "connect0" ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 39) >>> accept: condition test succeeded in ACL "connect0" >>> end of ACL "connect0": ACCEPT ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 67) >>> accept: condition test succeeded in inline ACL >>> end of inline ACL: ACCEPT >>> using ACL "check_data" ->>> processing "warn" +>>> processing "warn" (TESTSUITE/test-config 48) >>> check logwrite = Subject is: "$h_subject:" >>> = Subject is: "" LOG: 10HmaX-0005vi-00 Subject is: "" >>> warn: condition test succeeded in ACL "check_data" ->>> processing "deny" +>>> processing "deny" (TESTSUITE/test-config 49) >>> message: reply_address=<$reply_address> >>> deny: condition test succeeded in ACL "check_data" >>> end of ACL "check_data": DENY LOG: 10HmaX-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<> ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 67) >>> accept: condition test succeeded in inline ACL >>> end of inline ACL: ACCEPT >>> host in ignore_fromline_hosts? no (option unset) >>> using ACL "check_data" ->>> processing "warn" +>>> processing "warn" (TESTSUITE/test-config 48) >>> check logwrite = Subject is: "$h_subject:" >>> = Subject is: "" LOG: 10HmaY-0005vi-00 Subject is: "" >>> warn: condition test succeeded in ACL "check_data" ->>> processing "deny" +>>> processing "deny" (TESTSUITE/test-config 49) >>> message: reply_address=<$reply_address> >>> deny: condition test succeeded in ACL "check_data" >>> end of ACL "check_data": DENY LOG: 10HmaY-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address= ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 67) >>> accept: condition test succeeded in inline ACL >>> end of inline ACL: ACCEPT >>> host in ignore_fromline_hosts? no (option unset) >>> using ACL "check_data" ->>> processing "warn" +>>> processing "warn" (TESTSUITE/test-config 48) >>> check logwrite = Subject is: "$h_subject:" >>> = Subject is: "" LOG: 10HmaZ-0005vi-00 Subject is: "" >>> warn: condition test succeeded in ACL "check_data" ->>> processing "deny" +>>> processing "deny" (TESTSUITE/test-config 49) >>> message: reply_address=<$reply_address> >>> deny: condition test succeeded in ACL "check_data" >>> end of ACL "check_data": DENY LOG: 10HmaZ-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address= ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 67) >>> accept: condition test succeeded in inline ACL >>> end of inline ACL: ACCEPT >>> host in ignore_fromline_hosts? no (option unset) >>> using ACL "check_data" ->>> processing "warn" +>>> processing "warn" (TESTSUITE/test-config 48) >>> check logwrite = Subject is: "$h_subject:" >>> = Subject is: "" LOG: 10HmbA-0005vi-00 Subject is: "" >>> warn: condition test succeeded in ACL "check_data" ->>> processing "deny" +>>> processing "deny" (TESTSUITE/test-config 49) >>> message: reply_address=<$reply_address> >>> deny: condition test succeeded in ACL "check_data" >>> end of ACL "check_data": DENY LOG: 10HmbA-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<> ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 67) >>> accept: condition test succeeded in inline ACL >>> end of inline ACL: ACCEPT >>> host in ignore_fromline_hosts? no (option unset) >>> using ACL "check_data" ->>> processing "warn" +>>> processing "warn" (TESTSUITE/test-config 48) >>> check logwrite = Subject is: "$h_subject:" >>> = Subject is: "" LOG: 10HmbB-0005vi-00 Subject is: "" >>> warn: condition test succeeded in ACL "check_data" ->>> processing "deny" +>>> processing "deny" (TESTSUITE/test-config 49) >>> message: reply_address=<$reply_address> >>> deny: condition test succeeded in ACL "check_data" >>> end of ACL "check_data": DENY @@ -370,20 +453,20 @@ LOG: 10HmbB-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=>> host in helo_try_verify_hosts? no (option unset) >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "connect0" ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 39) >>> accept: condition test succeeded in ACL "connect0" >>> end of ACL "connect0": ACCEPT ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 67) >>> accept: condition test succeeded in inline ACL >>> end of inline ACL: ACCEPT >>> host in ignore_fromline_hosts? no (option unset) >>> using ACL "check_data" ->>> processing "warn" +>>> processing "warn" (TESTSUITE/test-config 48) >>> check logwrite = Subject is: "$h_subject:" >>> = Subject is: "=?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_it_will_go_over_the_75-char_limit_by_a_long_way=3B_in_fact_this_one_will_go_over_the_150_character_limit?=" LOG: 10HmbC-0005vi-00 Subject is: "=?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_it_will_go_over_the_75-char_limit_by_a_long_way=3B_in_fact_this_one_will_go_over_the_150_character_limit?=" >>> warn: condition test succeeded in ACL "check_data" ->>> processing "deny" +>>> processing "deny" (TESTSUITE/test-config 49) >>> message: reply_address=<$reply_address> >>> deny: condition test succeeded in ACL "check_data" >>> end of ACL "check_data": DENY @@ -397,20 +480,20 @@ LOG: 10HmbC-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<> >>> host in helo_try_verify_hosts? no (option unset) >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "connect0" ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 39) >>> accept: condition test succeeded in ACL "connect0" >>> end of ACL "connect0": ACCEPT ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 67) >>> accept: condition test succeeded in inline ACL >>> end of inline ACL: ACCEPT >>> host in ignore_fromline_hosts? no (option unset) >>> using ACL "check_data" ->>> processing "warn" +>>> processing "warn" (TESTSUITE/test-config 48) >>> check logwrite = Subject is: "$h_subject:" >>> = Subject is: " here we go: a string that is going to be encoded: it will go over the 75-char limit by a long way; in fact this one will go over the 150 character limit" LOG: 10HmbD-0005vi-00 Subject is: " here we go: a string that is going to be encoded: it will go over the 75-char limit by a long way; in fact this one will go over the 150 character limit" >>> warn: condition test succeeded in ACL "check_data" ->>> processing "deny" +>>> processing "deny" (TESTSUITE/test-config 49) >>> message: reply_address=<$reply_address> >>> deny: condition test succeeded in ACL "check_data" >>> end of ACL "check_data": DENY @@ -425,4 +508,4 @@ sender address = CALLER@myhost.test.ex 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask) 1.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask) search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (main: expansion test) terminating with rc=0 >>>>>>>>>>>>>>>>