X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/897024f1b30dfde19f8ed9477c49b7cd5a1f5512..b5a5e017b07491403c7ae3a4305ecf22b0826aa5:/test/stderr/0157 diff --git a/test/stderr/0157 b/test/stderr/0157 index df37cedcf..e5f23273c 100644 --- a/test/stderr/0157 +++ b/test/stderr/0157 @@ -6,42 +6,72 @@ >>> 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 -LOG: H=[V4NET.0.0.1] F= rejected RCPT : invalid sender +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) @@ -52,43 +82,79 @@ LOG: H=[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) @@ -99,50 +165,86 @@ LOG: H=[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) >>> message: relay not permitted >>> deny: condition test succeeded in ACL "check_recipient" >>> end of ACL "check_recipient": DENY -LOG: H=[V4NET.0.0.3] F= rejected RCPT : relay not permitted +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) >>> message: relay not permitted >>> deny: condition test succeeded in ACL "check_recipient" >>> end of ACL "check_recipient": DENY -LOG: H=[V4NET.0.0.3] F= rejected RCPT : relay not permitted +LOG: H=(test) [V4NET.0.0.3] F= rejected RCPT : relay not permitted