From 6fc54bd18aa7a51e11dce5a905e754cedb526230 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 29 Dec 2022 00:50:50 +0000 Subject: Debug: list searching --- test/stderr/0281 | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) (limited to 'test/stderr/0281') diff --git a/test/stderr/0281 b/test/stderr/0281 index ccdf4f3d6..d27390092 100644 --- a/test/stderr/0281 +++ b/test/stderr/0281 @@ -6,11 +6,15 @@ >>> 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) +>>> list element: +>>> list element: @ +>>> list element: @[] >>> test in helo_lookup_domains? no (end of list) >>> using ACL "acl_rcpt_1" >>> processing "require" (TESTSUITE/test-config 19) >>> message: domain doesn't match @ or @[] >>> check domains = @ : @[] +>>> list element: @ >>> myhost.test.ex in "@ : @[]"? yes (matched "@") >>> require: condition test succeeded in ACL "acl_rcpt_1" >>> processing "accept" (TESTSUITE/test-config 21) @@ -20,6 +24,8 @@ >>> processing "require" (TESTSUITE/test-config 19) >>> message: domain doesn't match @ or @[] >>> check domains = @ : @[] +>>> list element: @ +>>> list element: @[] >>> [127.0.0.1] in "@ : @[]"? yes (matched "@[]") >>> require: condition test succeeded in ACL "acl_rcpt_1" >>> processing "accept" (TESTSUITE/test-config 21) @@ -29,6 +35,8 @@ >>> processing "require" (TESTSUITE/test-config 19) >>> message: domain doesn't match @ or @[] >>> check domains = @ : @[] +>>> list element: @ +>>> list element: @[] >>> else.where in "@ : @[]"? no (end of list) >>> require: condition test failed in ACL "acl_rcpt_1" >>> end of ACL "acl_rcpt_1": not OK @@ -37,6 +45,8 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <1@else.where>: domain doesn't >>> processing "require" (TESTSUITE/test-config 24) >>> message: domain doesn't match @mx_any >>> check domains = @mx_any +>>> list element: @mx_any +>>> list element: other1.test.ex >>> other1.test.ex in hosts_treat_as_local? yes (matched "other1.test.ex") >>> local host has lowest MX >>> mxt13.test.ex in "@mx_any"? yes (matched "@mx_any") @@ -48,6 +58,8 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <1@else.where>: domain doesn't >>> processing "require" (TESTSUITE/test-config 24) >>> message: domain doesn't match @mx_any >>> check domains = @mx_any +>>> list element: @mx_any +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host has lowest MX >>> mxt1.test.ex in "@mx_any"? yes (matched "@mx_any") @@ -59,7 +71,10 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <1@else.where>: domain doesn't >>> processing "require" (TESTSUITE/test-config 24) >>> message: domain doesn't match @mx_any >>> check domains = @mx_any +>>> list element: @mx_any +>>> list element: other1.test.ex >>> ten-1.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host in host list - removed hosts: >>> eximtesthost.test.ex ip4.ip4.ip4.ip4 6 @@ -73,8 +88,12 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <1@else.where>: domain doesn't >>> processing "require" (TESTSUITE/test-config 24) >>> message: domain doesn't match @mx_any >>> check domains = @mx_any +>>> list element: @mx_any +>>> list element: other1.test.ex >>> ten-1.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> ten-2.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> ten-3.test.ex in hosts_treat_as_local? no (end of list) >>> mxt9.test.ex in "@mx_any"? no (end of list) >>> require: condition test failed in ACL "acl_rcpt_2" @@ -84,6 +103,7 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <2@mxt9.test.ex>: domain doesn >>> processing "require" (TESTSUITE/test-config 24) >>> message: domain doesn't match @mx_any >>> check domains = @mx_any +>>> list element: @mx_any >>> mxnone.test.ex in "@mx_any"? no (end of list) >>> require: condition test failed in ACL "acl_rcpt_2" >>> end of ACL "acl_rcpt_2": not OK @@ -92,7 +112,10 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <2@mxnone.test.ex>: domain doe >>> processing "require" (TESTSUITE/test-config 29) >>> message: domain doesn't match @mx_primary >>> check domains = @mx_primary +>>> list element: @mx_primary +>>> list element: other1.test.ex >>> ten-1.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host has lowest MX >>> mxt5.test.ex in "@mx_primary"? yes (matched "@mx_primary") @@ -104,8 +127,12 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <2@mxnone.test.ex>: domain doe >>> processing "require" (TESTSUITE/test-config 29) >>> message: domain doesn't match @mx_primary >>> check domains = @mx_primary +>>> list element: @mx_primary +>>> list element: other1.test.ex >>> ten-1.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> ten-2.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host in host list - removed hosts: >>> ten-2.test.ex V4NET.0.0.2 6 @@ -118,8 +145,12 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <3@mxt6.test.ex>: domain doesn >>> processing "require" (TESTSUITE/test-config 29) >>> message: domain doesn't match @mx_primary >>> check domains = @mx_primary +>>> list element: @mx_primary +>>> list element: other1.test.ex >>> ten-1.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> ten-2.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> ten-3.test.ex in hosts_treat_as_local? no (end of list) >>> mxt9.test.ex in "@mx_primary"? no (end of list) >>> require: condition test failed in ACL "acl_rcpt_3" @@ -129,6 +160,7 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <3@mxt9.test.ex>: domain doesn >>> processing "require" (TESTSUITE/test-config 29) >>> message: domain doesn't match @mx_primary >>> check domains = @mx_primary +>>> list element: @mx_primary >>> mxnone.test.ex in "@mx_primary"? no (end of list) >>> require: condition test failed in ACL "acl_rcpt_3" >>> end of ACL "acl_rcpt_3": not OK @@ -137,6 +169,8 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <3@mxnone.test.ex>: domain doe >>> processing "require" (TESTSUITE/test-config 34) >>> message: domain doesn't match @mx_secondary >>> check domains = @mx_secondary +>>> list element: @mx_secondary +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host has lowest MX >>> mxt5.test.ex in "@mx_secondary"? no (end of list) @@ -147,8 +181,12 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <4@mxt5.test.ex>: domain doesn >>> processing "require" (TESTSUITE/test-config 34) >>> message: domain doesn't match @mx_secondary >>> check domains = @mx_secondary +>>> list element: @mx_secondary +>>> list element: other1.test.ex >>> ten-1.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> ten-2.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host in host list - removed hosts: >>> ten-2.test.ex V4NET.0.0.2 6 @@ -162,8 +200,12 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <4@mxt5.test.ex>: domain doesn >>> processing "require" (TESTSUITE/test-config 34) >>> message: domain doesn't match @mx_secondary >>> check domains = @mx_secondary +>>> list element: @mx_secondary +>>> list element: other1.test.ex >>> ten-1.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> ten-2.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> ten-3.test.ex in hosts_treat_as_local? no (end of list) >>> mxt9.test.ex in "@mx_secondary"? no (end of list) >>> require: condition test failed in ACL "acl_rcpt_4" @@ -173,6 +215,7 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <4@mxt9.test.ex>: domain doesn >>> processing "require" (TESTSUITE/test-config 34) >>> message: domain doesn't match @mx_secondary >>> check domains = @mx_secondary +>>> list element: @mx_secondary >>> mxnone.test.ex in "@mx_secondary"? no (end of list) >>> require: condition test failed in ACL "acl_rcpt_4" >>> end of ACL "acl_rcpt_4": not OK @@ -181,9 +224,11 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <4@mxnone.test.ex>: domain doe >>> processing "require" (TESTSUITE/test-config 39) >>> message: host doesn't match @ or @[] >>> check hosts = @ : @[] +>>> list element: @ MUNGED: ::1 will be omitted in what follows >>> get[host|ipnode]byname[2] looked up these IP addresses: >>> name=myhost.test.ex address=V4NET.10.10.10 +>>> list element: @[] >>> host in "@ : @[]"? no (end of list) >>> require: condition test failed in ACL "acl_rcpt_5" >>> end of ACL "acl_rcpt_5": not OK @@ -196,11 +241,15 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <5@myhost.test.ex>: host doesn >>> 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) +>>> list element: +>>> list element: @ +>>> list element: @[] >>> test in helo_lookup_domains? no (end of list) >>> using ACL "acl_rcpt_5" >>> processing "require" (TESTSUITE/test-config 39) >>> message: host doesn't match @ or @[] >>> check hosts = @ : @[] +>>> list element: @ MUNGED: ::1 will be omitted in what follows >>> get[host|ipnode]byname[2] looked up these IP addresses: >>> name=myhost.test.ex address=V4NET.10.10.10 @@ -217,14 +266,19 @@ MUNGED: ::1 will be omitted in what follows >>> 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) +>>> list element: +>>> list element: @ +>>> list element: @[] >>> test in helo_lookup_domains? no (end of list) >>> using ACL "acl_rcpt_5" >>> processing "require" (TESTSUITE/test-config 39) >>> message: host doesn't match @ or @[] >>> check hosts = @ : @[] +>>> list element: @ MUNGED: ::1 will be omitted in what follows >>> get[host|ipnode]byname[2] looked up these IP addresses: >>> name=myhost.test.ex address=V4NET.10.10.10 +>>> list element: @[] >>> host in "@ : @[]"? yes (matched "@[]") >>> require: condition test succeeded in ACL "acl_rcpt_5" >>> processing "accept" (TESTSUITE/test-config 41) @@ -238,12 +292,18 @@ MUNGED: ::1 will be omitted in what follows >>> 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) +>>> list element: +>>> list element: @ +>>> list element: @[] >>> test in helo_lookup_domains? no (end of list) >>> using ACL "acl_rcpt_2" >>> processing "require" (TESTSUITE/test-config 24) >>> message: domain doesn't match @mx_any >>> check domains = @mx_any +>>> list element: @mx_any +>>> list element: other1.test.ex >>> not-exist.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host in host list - removed hosts: >>> eximtesthost.test.ex ip4.ip4.ip4.ip4 6 @@ -256,7 +316,10 @@ MUNGED: ::1 will be omitted in what follows >>> processing "require" (TESTSUITE/test-config 29) >>> message: domain doesn't match @mx_primary >>> check domains = @mx_primary +>>> list element: @mx_primary +>>> list element: other1.test.ex >>> not-exist.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host in host list - removed hosts: >>> eximtesthost.test.ex ip4.ip4.ip4.ip4 6 @@ -268,7 +331,10 @@ LOG: H=(test) [V4NET.1.1.1] F= rejected RCPT <3@mxt3.test.ex>: domain doesn >>> processing "require" (TESTSUITE/test-config 34) >>> message: domain doesn't match @mx_secondary >>> check domains = @mx_secondary +>>> list element: @mx_secondary +>>> list element: other1.test.ex >>> not-exist.test.ex in hosts_treat_as_local? no (end of list) +>>> list element: other1.test.ex >>> eximtesthost.test.ex in hosts_treat_as_local? no (end of list) >>> local host in host list - removed hosts: >>> eximtesthost.test.ex ip4.ip4.ip4.ip4 6 -- cgit v1.2.3