X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e..9bf74b9c298f6968417fe88a68ccdf2179db1403:/test/stderr/0175?ds=inline diff --git a/test/stderr/0175 b/test/stderr/0175 index e99d72021..afaf05137 100644 --- a/test/stderr/0175 +++ b/test/stderr/0175 @@ -6,15 +6,27 @@ >>> 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 "require" +>>> processing "require" (TESTSUITE/test-config 18) >>> check verify = sender >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>> routing user@bad.domain ->>> bad.domain in "test.ex"? no (end of list) ->>> bad.domain in "! +local_domains"? yes (end of list) +>>> bad.domain in domains? +>>> list element: !░+local_domains +>>> start sublist local_domains +>>> bad.domain in "test.ex"? +>>> ╎list element: test.ex +>>> bad.domain in "test.ex"? no (end of list) +>>> end sublist local_domains +>>> bad.domain in domains? yes (end of list) >>> calling fail_sender router ->>> bad.domain in "bad.domain"? yes (matched "bad.domain") +>>> bad.domain in "bad.domain"? +>>> list element: bad.domain +>>> bad.domain in "bad.domain"? yes (matched "bad.domain") >>> local host found for non-MX address >>> fully qualified name = localhost MUNGED: ::1 will be omitted in what follows @@ -22,9 +34,10 @@ MUNGED: ::1 will be omitted in what follows >>> name=localhost address=127.0.0.1 >>> fail_sender router forced address failure >>> ----------- end verify ------------ ->>> require: condition test failed -LOG: H=[V4NET.0.0.0] sender verify fail for : remote host address is the local host -LOG: H=[V4NET.0.0.0] F= rejected RCPT : Sender verify failed +>>> require: condition test failed in ACL "check_recipient" +>>> end of ACL "check_recipient": not OK +LOG: H=(test) [V4NET.0.0.0] sender verify fail for : remote host address is the local host +LOG: H=(test) [V4NET.0.0.0] F= rejected RCPT : Sender verify failed >>> host in hosts_connection_nolog? no (option unset) >>> host in host_lookup? no (option unset) >>> host in host_reject_connection? no (option unset) @@ -33,28 +46,48 @@ LOG: H=[V4NET.0.0.0] F= rejected RCPT : Sender v >>> 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 "require" +>>> processing "require" (TESTSUITE/test-config 18) >>> check verify = sender >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>> routing user@bad.domain2 ->>> bad.domain2 in "test.ex"? no (end of list) ->>> bad.domain2 in "! +local_domains"? yes (end of list) +>>> bad.domain2 in domains? +>>> list element: !░+local_domains +>>> start sublist local_domains +>>> bad.domain2 in "test.ex"? +>>> ╎list element: test.ex +>>> bad.domain2 in "test.ex"? no (end of list) +>>> end sublist local_domains +>>> bad.domain2 in domains? yes (end of list) >>> calling fail_sender router +>>> bad.domain2 in "bad.domain"? +>>> list element: bad.domain >>> bad.domain2 in "bad.domain"? no (end of list) >>> fail_sender router declined for user@bad.domain2 ->>> bad.domain2 in "! +local_domains"? yes (end of list) +>>> bad.domain2 in domains? +>>> list element: !░+local_domains +>>> start sublist local_domains +>>> cached no match for +local_domains +>>> cached lookup data = NULL +>>> bad.domain2 in domains? yes (end of list) >>> calling fail_sender2 router ->>> bad.domain2 in "bad.domain2"? yes (matched "bad.domain2") +>>> bad.domain2 in "bad.domain2"? +>>> list element: bad.domain2 +>>> bad.domain2 in "bad.domain2"? yes (matched "bad.domain2") >>> local host found for non-MX address >>> fully qualified name = localhost MUNGED: ::1 will be omitted in what follows >>> get[host|ipnode]byname[2] looked up these IP addresses: >>> name=localhost address=127.0.0.1 >>> ----------- end verify ------------ ->>> require: condition test failed -LOG: H=[V4NET.0.0.0] sender verify fail for : fail_sender2 router forced verify failure -LOG: H=[V4NET.0.0.0] F= rejected RCPT : Sender verify failed +>>> require: condition test failed in ACL "check_recipient" +>>> end of ACL "check_recipient": not OK +LOG: H=(test) [V4NET.0.0.0] sender verify fail for : fail_sender2 router forced verify failure +LOG: H=(test) [V4NET.0.0.0] F= rejected RCPT : Sender verify failed >>> host in hosts_connection_nolog? no (option unset) >>> host in host_lookup? no (option unset) >>> host in host_reject_connection? no (option unset) @@ -63,28 +96,66 @@ LOG: H=[V4NET.0.0.0] F= rejected RCPT : 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 "require" +>>> processing "require" (TESTSUITE/test-config 18) >>> check verify = sender >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>> routing user@ten-1.test.ex ->>> ten-1.test.ex in "test.ex"? no (end of list) ->>> ten-1.test.ex in "! +local_domains"? yes (end of list) +>>> ten-1.test.ex in domains? +>>> list element: !░+local_domains +>>> start sublist local_domains +>>> ten-1.test.ex in "test.ex"? +>>> ╎list element: test.ex +>>> ten-1.test.ex in "test.ex"? no (end of list) +>>> end sublist local_domains +>>> ten-1.test.ex in domains? yes (end of list) >>> calling fail_sender router +>>> ten-1.test.ex in "bad.domain"? +>>> list element: bad.domain >>> ten-1.test.ex in "bad.domain"? no (end of list) >>> fail_sender router declined for user@ten-1.test.ex ->>> ten-1.test.ex in "! +local_domains"? yes (end of list) +>>> ten-1.test.ex in domains? +>>> list element: !░+local_domains +>>> start sublist local_domains +>>> cached no match for +local_domains +>>> cached lookup data = NULL +>>> ten-1.test.ex in domains? yes (end of list) >>> calling fail_sender2 router +>>> ten-1.test.ex in "bad.domain2"? +>>> list element: bad.domain2 >>> ten-1.test.ex in "bad.domain2"? no (end of list) >>> fail_sender2 router declined for user@ten-1.test.ex ->>> ten-1.test.ex in "! +local_domains"? yes (end of list) +>>> ten-1.test.ex in domains? +>>> list element: !░+local_domains +>>> start sublist local_domains +>>> cached no match for +local_domains +>>> cached lookup data = NULL +>>> ten-1.test.ex in domains? yes (end of list) >>> calling lookuphost router +>>> check dnssec require list +>>> ten-1.test.ex in dnssec_require_domains? no (option unset) +>>> check dnssec request list +>>> ten-1.test.ex in dnssec_request_domains? +>>> list element: * +>>> ten-1.test.ex in dnssec_request_domains? yes (matched "*") >>> routed by lookuphost router >>> ----------- end verify ------------ ->>> require: condition test succeeded ->>> processing "accept" +>>> require: condition test succeeded in ACL "check_recipient" +>>> processing "accept" (TESTSUITE/test-config 19) >>> check domains = +local_domains ->>> test.ex in "test.ex"? yes (matched "test.ex") ->>> test.ex in "+local_domains"? yes (matched "+local_domains") ->>> accept: condition test succeeded -LOG: 10HmaX-0005vi-00 <= user@ten-1.test.ex H=[V4NET.0.0.0] P=smtp S=sss +>>> test.ex in "+local_domains"? +>>> list element: +local_domains +>>> start sublist local_domains +>>> test.ex in "test.ex"? +>>> ╎list element: test.ex +>>> ╎test.ex in "test.ex"? yes (matched "test.ex") +>>> end sublist local_domains +>>> data from lookup saved for cache for +local_domains: key 'test.ex' value '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 +LOG: 10HmaX-000000005vi-0000 <= user@ten-1.test.ex H=(test) [V4NET.0.0.0] P=smtp S=sss