X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/2f8e0a5f6bc17ccd0749c0dc28f5da28da5d25a2..600dc06981df5a906125f8442c36056a117412d4:/test/stderr/0157 diff --git a/test/stderr/0157 b/test/stderr/0157 index f4565c76c..e5f23273c 100644 --- a/test/stderr/0157 +++ b/test/stderr/0157 @@ -6,22 +6,37 @@ >>> 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) +>>> test in helo_lookup_domains? +>>> list element: @ +>>> list element: @[] >>> test in helo_lookup_domains? no (end of list) >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 19) >>> check hosts = : +>>> host in ":"? +>>> list element: >>> host in ":"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 20) >>> check domains = +local_domains ->>> b.c in "test.ex"? no (end of list) +>>> b.c in "+local_domains"? +>>> list element: +local_domains +>>> start sublist local_domains +>>> b.c in "test.ex"? +>>> ╎list element: test.ex +>>> b.c in "test.ex"? no (end of list) +>>> end sublist local_domains >>> b.c in "+local_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 21) >>> check hosts = V4NET.0.0.1 ->>> host in "V4NET.0.0.1"? yes (matched "V4NET.0.0.1") +>>> host in "V4NET.0.0.1"? +>>> list element: V4NET.0.0.1 +>>> host in "V4NET.0.0.1"? yes (matched "V4NET.0.0.1") >>> message: invalid sender >>> check senders = userx@test.ex +>>> x@y.z in "userx@test.ex"? +>>> list element: userx@test.ex >>> x@y.z in "userx@test.ex"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> accept: endpass encountered - denying access @@ -29,20 +44,34 @@ LOG: H=(test) [V4NET.0.0.1] F= rejected RCPT : invalid sender >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 19) >>> check hosts = : +>>> host in ":"? +>>> list element: >>> host in ":"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 20) >>> check domains = +local_domains ->>> b.c in "test.ex"? no (end of list) +>>> b.c in "+local_domains"? +>>> list element: +local_domains +>>> start sublist local_domains +>>> b.c in "test.ex"? +>>> ╎list element: test.ex +>>> b.c in "test.ex"? no (end of list) +>>> end sublist local_domains >>> b.c in "+local_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 21) >>> check hosts = V4NET.0.0.1 ->>> host in "V4NET.0.0.1"? yes (matched "V4NET.0.0.1") +>>> host in "V4NET.0.0.1"? +>>> list element: V4NET.0.0.1 +>>> host in "V4NET.0.0.1"? yes (matched "V4NET.0.0.1") >>> message: invalid sender >>> check senders = userx@test.ex ->>> test.ex in "test.ex"? yes (matched "test.ex") ->>> userx@test.ex in "userx@test.ex"? yes (matched "userx@test.ex") +>>> userx@test.ex in "userx@test.ex"? +>>> list element: userx@test.ex +>>> test.ex in "test.ex"? +>>> list element: test.ex +>>> test.ex in "test.ex"? yes (matched "test.ex") +>>> userx@test.ex in "userx@test.ex"? yes (matched "userx@test.ex") >>> accept: condition test succeeded in ACL "check_recipient" >>> end of ACL "check_recipient": ACCEPT >>> host in hosts_connection_nolog? no (option unset) @@ -53,44 +82,79 @@ LOG: H=(test) [V4NET.0.0.1] F= rejected RCPT : invalid sender >>> 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) +>>> test in helo_lookup_domains? +>>> list element: @ +>>> list element: @[] >>> test in helo_lookup_domains? no (end of list) >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 19) >>> check hosts = : +>>> host in ":"? +>>> list element: >>> host in ":"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 20) >>> check domains = +local_domains ->>> b.c in "test.ex"? no (end of list) +>>> b.c in "+local_domains"? +>>> list element: +local_domains +>>> start sublist local_domains +>>> b.c in "test.ex"? +>>> ╎list element: test.ex +>>> b.c in "test.ex"? no (end of list) +>>> end sublist local_domains >>> b.c in "+local_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 21) >>> check hosts = V4NET.0.0.1 +>>> host in "V4NET.0.0.1"? +>>> list element: V4NET.0.0.1 >>> host in "V4NET.0.0.1"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 25) >>> check hosts = +relay_hosts ->>> host in "V4NET.0.0.1 : V4NET.0.0.2"? yes (matched "V4NET.0.0.2") ->>> host in "+relay_hosts"? yes (matched "+relay_hosts") +>>> host in "+relay_hosts"? +>>> list element: +relay_hosts +>>> start sublist relay_hosts +>>> host in "V4NET.0.0.1 : V4NET.0.0.2"? +>>> ╎list element: V4NET.0.0.1 +>>> ╎list element: V4NET.0.0.2 +>>> ╎host in "V4NET.0.0.1 : V4NET.0.0.2"? yes (matched "V4NET.0.0.2") +>>> end sublist relay_hosts +>>> host in "+relay_hosts"? yes (matched "+relay_hosts") >>> accept: condition test succeeded in ACL "check_recipient" >>> end of ACL "check_recipient": ACCEPT >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 19) >>> check hosts = : +>>> host in ":"? +>>> list element: >>> host in ":"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 20) >>> check domains = +local_domains ->>> b.c in "test.ex"? no (end of list) +>>> b.c in "+local_domains"? +>>> list element: +local_domains +>>> start sublist local_domains +>>> b.c in "test.ex"? +>>> ╎list element: test.ex +>>> b.c in "test.ex"? no (end of list) +>>> end sublist local_domains >>> b.c in "+local_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 21) >>> check hosts = V4NET.0.0.1 +>>> host in "V4NET.0.0.1"? +>>> list element: V4NET.0.0.1 >>> host in "V4NET.0.0.1"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 25) >>> check hosts = +relay_hosts ->>> host in "+relay_hosts"? yes (matched "+relay_hosts" - cached) +>>> host in "+relay_hosts"? +>>> list element: +relay_hosts +>>> start sublist relay_hosts +>>> cached yes match for +relay_hosts +>>> cached lookup data = NULL +>>> host in "+relay_hosts"? yes (matched "+relay_hosts" - cached) >>> accept: condition test succeeded in ACL "check_recipient" >>> end of ACL "check_recipient": ACCEPT >>> host in hosts_connection_nolog? no (option unset) @@ -101,24 +165,44 @@ LOG: H=(test) [V4NET.0.0.1] F= rejected RCPT : invalid sender >>> 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) +>>> test in helo_lookup_domains? +>>> list element: @ +>>> list element: @[] >>> test in helo_lookup_domains? no (end of list) >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 19) >>> check hosts = : +>>> host in ":"? +>>> list element: >>> host in ":"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 20) >>> check domains = +local_domains ->>> b.c in "test.ex"? no (end of list) +>>> b.c in "+local_domains"? +>>> list element: +local_domains +>>> start sublist local_domains +>>> b.c in "test.ex"? +>>> ╎list element: test.ex +>>> b.c in "test.ex"? no (end of list) +>>> end sublist local_domains >>> b.c in "+local_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 21) >>> check hosts = V4NET.0.0.1 +>>> host in "V4NET.0.0.1"? +>>> list element: V4NET.0.0.1 >>> host in "V4NET.0.0.1"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 25) >>> check hosts = +relay_hosts ->>> host in "V4NET.0.0.1 : V4NET.0.0.2"? no (end of list) +>>> host in "+relay_hosts"? +>>> list element: +relay_hosts +>>> start sublist relay_hosts +>>> host in "V4NET.0.0.1 : V4NET.0.0.2"? +>>> ╎list element: V4NET.0.0.1 +>>> ╎list element: V4NET.0.0.2 +>>> host in "V4NET.0.0.1 : V4NET.0.0.2"? no (end of list) +>>> end sublist relay_hosts >>> host in "+relay_hosts"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "deny" (TESTSUITE/test-config 26) @@ -129,19 +213,34 @@ LOG: H=(test) [V4NET.0.0.3] F= rejected RCPT : relay not permitted >>> using ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 19) >>> check hosts = : +>>> host in ":"? +>>> list element: >>> host in ":"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 20) >>> check domains = +local_domains ->>> b.c in "test.ex"? no (end of list) +>>> b.c in "+local_domains"? +>>> list element: +local_domains +>>> start sublist local_domains +>>> b.c in "test.ex"? +>>> ╎list element: test.ex +>>> b.c in "test.ex"? no (end of list) +>>> end sublist local_domains >>> b.c in "+local_domains"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 21) >>> check hosts = V4NET.0.0.1 +>>> host in "V4NET.0.0.1"? +>>> list element: V4NET.0.0.1 >>> host in "V4NET.0.0.1"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "accept" (TESTSUITE/test-config 25) >>> check hosts = +relay_hosts +>>> host in "+relay_hosts"? +>>> list element: +relay_hosts +>>> start sublist relay_hosts +>>> cached no match for +relay_hosts +>>> cached lookup data = NULL >>> host in "+relay_hosts"? no (end of list) >>> accept: condition test failed in ACL "check_recipient" >>> processing "deny" (TESTSUITE/test-config 26)