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/0057 | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 55 insertions(+), 6 deletions(-) (limited to 'test/stderr/0057') diff --git a/test/stderr/0057 b/test/stderr/0057 index 1ad870341..91ac7d335 100644 --- a/test/stderr/0057 +++ b/test/stderr/0057 @@ -6,25 +6,57 @@ >>> 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) +>>> host in pipelining_connect_advertise_hosts? +>>> list element: +>>> test in helo_lookup_domains? +>>> list element: @ +>>> list element: @[] >>> test in helo_lookup_domains? no (end of list) +>>> test.ex in percent_hack_domains? +>>> list element: ! a.test.ex +>>> list element: !b.test.ex +>>> list element: !TESTSUITE/aux-fixed/0057.d1 +>>> list element: ! TESTSUITE/aux-fixed/0057.d2 +>>> list element: *.test.ex >>> test.ex in percent_hack_domains? no (end of list) >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 23) >>> check domains = +local_domains ->>> test.ex in "test.ex : myhost.ex : *.test.ex"? yes (matched "test.ex") ->>> test.ex in "+local_domains"? yes (matched "+local_domains") +>>> test.ex in "+local_domains"? +>>> list element: +local_domains +>>> test.ex in "test.ex : myhost.ex : *.test.ex"? +>>> list element: test.ex +>>> test.ex in "test.ex : myhost.ex : *.test.ex"? yes (matched "test.ex") +>>> test.ex in "+local_domains"? yes (matched "+local_domains") >>> accept: condition test succeeded in ACL "check_recipient" >>> end of ACL "check_recipient": ACCEPT +>>> anotherhost.example.com in percent_hack_domains? +>>> list element: ! a.test.ex +>>> list element: !b.test.ex +>>> list element: !TESTSUITE/aux-fixed/0057.d1 +>>> list element: ! TESTSUITE/aux-fixed/0057.d2 +>>> list element: *.test.ex >>> anotherhost.example.com in percent_hack_domains? no (end of list) >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 23) >>> check domains = +local_domains ->>> anotherhost.example.com in "test.ex : myhost.ex : *.test.ex"? no (end of list) +>>> anotherhost.example.com in "+local_domains"? +>>> list element: +local_domains +>>> anotherhost.example.com in "test.ex : myhost.ex : *.test.ex"? +>>> list element: test.ex +>>> list element: myhost.ex +>>> list element: *.test.ex +>>> anotherhost.example.com in "test.ex : myhost.ex : *.test.ex"? no (end of list) >>> anotherhost.example.com in "+local_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 24) >>> check domains = +relay_domains ->>> anotherhost.example.com in "test.ex : !*"? no (matched "!*") +>>> anotherhost.example.com in "+relay_domains"? +>>> list element: +relay_domains +>>> anotherhost.example.com in "test.ex : !*"? +>>> list element: test.ex +>>> list element: !* +>>> anotherhost.example.com in "test.ex : !*"? no (matched "!*") >>> anotherhost.example.com in "+relay_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "deny" (TESTSUITE/test-config 25) @@ -32,16 +64,33 @@ >>> deny: condition test succeeded in ACL "check_recipient" >>> end of ACL "check_recipient": DENY LOG: H=(test) [V4NET.0.0.1] F= rejected RCPT : relay not permitted +>>> 3rdhost.example.com in percent_hack_domains? +>>> list element: ! a.test.ex +>>> list element: !b.test.ex +>>> list element: !TESTSUITE/aux-fixed/0057.d1 +>>> list element: ! TESTSUITE/aux-fixed/0057.d2 +>>> list element: *.test.ex >>> 3rdhost.example.com in percent_hack_domains? no (end of list) >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 23) >>> check domains = +local_domains ->>> 3rdhost.example.com in "test.ex : myhost.ex : *.test.ex"? no (end of list) +>>> 3rdhost.example.com in "+local_domains"? +>>> list element: +local_domains +>>> 3rdhost.example.com in "test.ex : myhost.ex : *.test.ex"? +>>> list element: test.ex +>>> list element: myhost.ex +>>> list element: *.test.ex +>>> 3rdhost.example.com in "test.ex : myhost.ex : *.test.ex"? no (end of list) >>> 3rdhost.example.com in "+local_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 24) >>> check domains = +relay_domains ->>> 3rdhost.example.com in "test.ex : !*"? no (matched "!*") +>>> 3rdhost.example.com in "+relay_domains"? +>>> list element: +relay_domains +>>> 3rdhost.example.com in "test.ex : !*"? +>>> list element: test.ex +>>> list element: !* +>>> 3rdhost.example.com in "test.ex : !*"? no (matched "!*") >>> 3rdhost.example.com in "+relay_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "deny" (TESTSUITE/test-config 25) -- cgit v1.2.3