X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/590fd9eeeb31a0e3815719e5b577469ffe9771bd..c9f1be94cc304f0343c93b66efa41a747d307fb1:/test/stderr/0002 diff --git a/test/stderr/0002 b/test/stderr/0002 index 0677a4291..8f85e7146 100644 --- a/test/stderr/0002 +++ b/test/stderr/0002 @@ -1,89 +1,95 @@ Exim version x.yz .... configuration file is TESTSUITE/test-config admin user - ┌considering: primary_hostname: $primary_hostname +dropping to exim gid; retaining priv uid + ╭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} + ╰─────result: primary_hostname: myhost.test.ex + ╭considering: sender_address: $sender_address + ├──expanding: sender_address: $sender_address + ╰─────result: sender_address: sndr@dom + ╰──(tainted) + ╭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} + ╰─────result: abcd + ╭considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} ├──expanding: \N^([ab]+)(\w+)$\N - └─────result: ^([ab]+)(\w+)$ + ╰─────result: ^([ab]+)(\w+)$ ├──condition: match{abcd}{\N^([ab]+)(\w+)$\N} ├─────result: true - ┌considering: $2$1}fail} + ╭considering: $2$1}fail} ├──expanding: $2$1 - └─────result: cdab + ╰─────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} + ╰─────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} + ╰─────result: wxyz + ╭considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} ├──expanding: \N^([ab]+)(\w+)$\N - └─────result: ^([ab]+)(\w+)$ + ╰─────result: ^([ab]+)(\w+)$ ├──condition: match{wxyz}{\N^([ab]+)(\w+)$\N} ├─────result: false - ┌───scanning: $2$1}fail} + ╭───scanning: $2$1}fail} ├──expanding: $2$1 ├─────result: - └───skipping: result is not used + ╰───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}}}} + ╰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}}}} + ╰─────result: 1 + ╭considering: 1}{yes}{${lookup{xx}lsearch{/non/exist}}}} ├──expanding: 1 - └─────result: 1 + ╰─────result: 1 ├──condition: eq {1}{1} ├─────result: true - ┌considering: yes}{${lookup{xx}lsearch{/non/exist}}}} + ╭considering: yes}{${lookup{xx}lsearch{/non/exist}}}} ├──expanding: yes - └─────result: yes - ┌───scanning: ${lookup{xx}lsearch{/non/exist}}}} - ┌───scanning: xx}lsearch{/non/exist}}}} + ╰─────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}}}} + ╰───skipping: result is not used + ╭───scanning: /non/exist}}}} ├──expanding: /non/exist ├─────result: /non/exist - └───skipping: result is not used + ╰───skipping: result is not used ├──expanding: ${lookup{xx}lsearch{/non/exist}} ├─────result: - └───skipping: result is not used + ╰───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}} + ╰─────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}} + ╰─────result: a.b.c + ╭considering: a.b.c}{yes}{no}} ├──expanding: a.b.c - └─────result: 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}} + ╭───scanning: yes}{no}} ├──expanding: yes ├─────result: yes - └───skipping: result is not used - ┌considering: no}} + ╰───skipping: result is not used + ╭considering: no}} ├──expanding: no - └─────result: no - ├──expanding: a.b.c - └─────result: match_address: no + ╰─────result: no + ├──expanding: match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}} + ╰─────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 +dropping to exim gid; retaining priv uid /considering: primary_hostname: $primary_hostname |--expanding: primary_hostname: $primary_hostname \_____result: primary_hostname: myhost.test.ex @@ -161,87 +167,93 @@ LOG: MAIN PANIC /considering: no}} |--expanding: no \_____result: no - |--expanding: a.b.c + |--expanding: match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}} \_____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 - ┌considering: -oMa sender_host_address = $sender_host_address +dropping to exim gid; retaining priv uid + ╭considering: -oMa sender_host_address = $sender_host_address ├──expanding: -oMa sender_host_address = $sender_host_address - └─────result: -oMa sender_host_address = V4NET.0.0.1 - ┌considering: sender_host_port = $sender_host_port + ╰─────result: -oMa sender_host_address = V4NET.0.0.1 + ╭considering: sender_host_port = $sender_host_port ├──expanding: sender_host_port = $sender_host_port - └─────result: sender_host_port = 1234 - ┌considering: -oMaa sender_host_authenticated = $sender_host_authenticated + ╰─────result: sender_host_port = 1234 + ╭considering: -oMaa sender_host_authenticated = $sender_host_authenticated ├──expanding: -oMaa sender_host_authenticated = $sender_host_authenticated - └─────result: -oMaa sender_host_authenticated = AAA - ┌considering: -oMai authenticated_id = $authenticated_id + ╰─────result: -oMaa sender_host_authenticated = AAA + ╭considering: -oMai authenticated_id = $authenticated_id ├──expanding: -oMai authenticated_id = $authenticated_id - └─────result: -oMai authenticated_id = philip - ┌considering: -oMas authenticated_sender = $authenticated_sender + ╰─────result: -oMai authenticated_id = philip + ╰──(tainted) + ╭considering: -oMas authenticated_sender = $authenticated_sender ├──expanding: -oMas authenticated_sender = $authenticated_sender - └─────result: -oMas authenticated_sender = xx@yy.zz - ┌considering: -oMi interface_address = $interface_address + ╰─────result: -oMas authenticated_sender = xx@yy.zz + ╰──(tainted) + ╭considering: -oMi interface_address = $interface_address ├──expanding: -oMi interface_address = $interface_address - └─────result: -oMi interface_address = 1.1.1.1 - ┌considering: interface_port = $interface_port + ╰─────result: -oMi interface_address = 1.1.1.1 + ╭considering: interface_port = $interface_port ├──expanding: interface_port = $interface_port - └─────result: interface_port = 99 - ┌considering: -oMr received_protocol = $received_protocol + ╰─────result: interface_port = 99 + ╭considering: -oMr received_protocol = $received_protocol ├──expanding: -oMr received_protocol = $received_protocol - └─────result: -oMr received_protocol = special - ┌considering: -oMt sender_ident = $sender_ident + ╰─────result: -oMr received_protocol = special + ╭considering: -oMt sender_ident = $sender_ident ├──expanding: -oMt sender_ident = $sender_ident - └─────result: -oMt sender_ident = me + ╰─────result: -oMt sender_ident = me >>>>>>>>>>>>>>>> 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 admin user - ┌considering: -oMa sender_host_address = $sender_host_address +dropping to exim gid; retaining priv uid + ╭considering: -oMa sender_host_address = $sender_host_address ├──expanding: -oMa sender_host_address = $sender_host_address - └─────result: -oMa sender_host_address = V4NET.0.0.1 - ┌considering: sender_host_port = $sender_host_port + ╰─────result: -oMa sender_host_address = V4NET.0.0.1 + ╭considering: sender_host_port = $sender_host_port ├──expanding: sender_host_port = $sender_host_port - └─────result: sender_host_port = 1234 - ┌considering: -oMaa sender_host_authenticated = $sender_host_authenticated + ╰─────result: sender_host_port = 1234 + ╭considering: -oMaa sender_host_authenticated = $sender_host_authenticated ├──expanding: -oMaa sender_host_authenticated = $sender_host_authenticated - └─────result: -oMaa sender_host_authenticated = AAA - ┌considering: -oMai authenticated_id = $authenticated_id + ╰─────result: -oMaa sender_host_authenticated = AAA + ╭considering: -oMai authenticated_id = $authenticated_id ├──expanding: -oMai authenticated_id = $authenticated_id - └─────result: -oMai authenticated_id = philip - ┌considering: -oMas authenticated_sender = $authenticated_sender + ╰─────result: -oMai authenticated_id = philip + ╰──(tainted) + ╭considering: -oMas authenticated_sender = $authenticated_sender ├──expanding: -oMas authenticated_sender = $authenticated_sender - └─────result: -oMas authenticated_sender = xx@yy.zz - ┌considering: -oMi interface_address = $interface_address + ╰─────result: -oMas authenticated_sender = xx@yy.zz + ╰──(tainted) + ╭considering: -oMi interface_address = $interface_address ├──expanding: -oMi interface_address = $interface_address - └─────result: -oMi interface_address = 1.1.1.1 - ┌considering: interface_port = $interface_port + ╰─────result: -oMi interface_address = 1.1.1.1 + ╭considering: interface_port = $interface_port ├──expanding: interface_port = $interface_port - └─────result: interface_port = 99 - ┌considering: -oMr received_protocol = $received_protocol + ╰─────result: interface_port = 99 + ╭considering: -oMr received_protocol = $received_protocol ├──expanding: -oMr received_protocol = $received_protocol - └─────result: -oMr received_protocol = special - ┌considering: ----> No lookup yet: ${if eq{black}{white}{$sender_host_name}{No}} - ┌considering: black}{white}{$sender_host_name}{No}} + ╰─────result: -oMr received_protocol = special + ╭considering: ----> No lookup yet: ${if eq{black}{white}{$sender_host_name}{No}} + ╭considering: black}{white}{$sender_host_name}{No}} ├──expanding: black - └─────result: black - ┌considering: white}{$sender_host_name}{No}} + ╰─────result: black + ╭considering: white}{$sender_host_name}{No}} ├──expanding: white - └─────result: white + ╰─────result: white ├──condition: eq{black}{white} ├─────result: false - ┌───scanning: $sender_host_name}{No}} + ╭───scanning: $sender_host_name}{No}} ├──expanding: $sender_host_name ├─────result: - └───skipping: result is not used - ┌considering: No}} + ╰───skipping: result is not used + ╭considering: No}} ├──expanding: No - └─────result: No + ╰─────result: No ├──expanding: ----> No lookup yet: ${if eq{black}{white}{$sender_host_name}{No}} - └─────result: ----> No lookup yet: No - ┌considering: -oMs sender_host_name = $sender_host_name + ╰─────result: ----> No lookup yet: No + ╭considering: -oMs sender_host_name = $sender_host_name looking up host name for V4NET.0.0.1 IP address lookup yielded "ten-1.test.ex" ten-1.test.ex V4NET.0.0.1 mx=-1 sort=xx @@ -250,10 +262,11 @@ checking addresses for ten-1.test.ex sender_fullhost = ten-1.test.ex [V4NET.0.0.1] sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1] ident=me) ├──expanding: -oMs sender_host_name = $sender_host_name - └─────result: -oMs sender_host_name = ten-1.test.ex - ┌considering: -oMt sender_ident = $sender_ident + ╰─────result: -oMs sender_host_name = ten-1.test.ex + ╰──(tainted) + ╭considering: -oMt sender_ident = $sender_ident ├──expanding: -oMt sender_ident = $sender_ident - └─────result: -oMt sender_ident = me + ╰─────result: -oMt sender_ident = me >>>>>>>>>>>>>>>> Exim pid=pppp (main: expansion test) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... changed uid/gid: forcing real = effective @@ -503,6 +516,7 @@ changed uid/gid: -C, -D, -be or -bf forces real uid uid=CALLER_UID gid=CALLER_GID pid=pppp configuration file is TESTSUITE/test-config admin user +dropping to exim gid; retaining priv uid originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME sender address = CALLER@myhost.test.ex 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask)