X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e..d0e4bb183c038fe38ee249c1bd096f49120e908a:/test/stderr/0094 diff --git a/test/stderr/0094 b/test/stderr/0094 index 81297b063..f809c7caa 100644 --- a/test/stderr/0094 +++ b/test/stderr/0094 @@ -1,5 +1,7 @@ >>> host in hosts_connection_nolog? no (option unset) ->>> host in host_lookup? yes (matched "0.0.0.0/0") +>>> host in host_lookup? +>>> list element: 0.0.0.0/0 +>>> host in host_lookup? yes (matched "0.0.0.0/0") >>> looking up host name for V4NET.11.12.13 LOG: no host name found for IP address V4NET.11.12.13 >>> host in host_reject_connection? no (option unset) @@ -8,32 +10,47 @@ LOG: no host name found for IP address V4NET.11.12.13 >>> 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" +>>> processing "accept" (TESTSUITE/test-config 23) >>> check hosts = : +>>> host in ":"? +>>> list element: >>> host in ":"? no (end of list) ->>> accept: condition test failed ->>> processing "accept" +>>> accept: condition test failed in ACL "check_recipient" +>>> processing "accept" (TESTSUITE/test-config 24) >>> check domains = +local_domains ->>> cam.ac.uk in "test.ex"? no (end of list) +>>> cam.ac.uk in "+local_domains"? +>>> list element: +local_domains +>>> cam.ac.uk in "test.ex"? +>>> list element: test.ex +>>> cam.ac.uk in "test.ex"? no (end of list) >>> cam.ac.uk in "+local_domains"? no (end of list) ->>> accept: condition test failed ->>> processing "accept" +>>> 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 +>>> host in "*.masq.test.ex"? +>>> list element: *.masq.test.ex >>> sender host name required, to match against *.masq.test.ex ->>> host in "*.masq.test.ex"? no (failed to find host name for V4NET.11.12.13) ->>> host in "+relay_hosts"? no (end of list) ->>> accept: condition test failed ->>> processing "deny" ->>> deny: condition test succeeded -LOG: H=[V4NET.11.12.13] F= rejected RCPT : relay not permitted +>>> host in "*.masq.test.ex"? no (failed to find host name for V4NET.11.12.13) +>>> 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=(test) [V4NET.11.12.13] F= rejected RCPT : relay not permitted >>> host in hosts_connection_nolog? no (option unset) ->>> host in host_lookup? yes (matched "0.0.0.0/0") +>>> host in host_lookup? +>>> list element: 0.0.0.0/0 +>>> host in host_lookup? yes (matched "0.0.0.0/0") >>> looking up host name for V4NET.0.0.1 ->>> IP address lookup yielded ten-1.test.ex -MUNGED: ::1 will be omitted in what follows ->>> get[host|ipnode]byname[2] looked up these IP addresses: ->>> name=ten-1.test.ex address=V4NET.0.0.1 +>>> IP address lookup yielded "ten-1.test.ex" >>> checking addresses for ten-1.test.ex >>> V4NET.0.0.1 OK >>> host in host_reject_connection? no (option unset) @@ -43,30 +60,44 @@ MUNGED: ::1 will be omitted in what follows >>> host in helo_try_verify_hosts? no (option unset) >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "check_recipient" ->>> processing "accept" +>>> processing "accept" (TESTSUITE/test-config 23) >>> check hosts = : +>>> host in ":"? +>>> list element: >>> host in ":"? no (end of list) ->>> accept: condition test failed ->>> processing "accept" +>>> accept: condition test failed in ACL "check_recipient" +>>> processing "accept" (TESTSUITE/test-config 24) >>> check domains = +local_domains ->>> cam.ac.uk in "test.ex"? no (end of list) +>>> cam.ac.uk in "+local_domains"? +>>> list element: +local_domains +>>> cam.ac.uk in "test.ex"? +>>> list element: test.ex +>>> cam.ac.uk in "test.ex"? no (end of list) >>> cam.ac.uk in "+local_domains"? no (end of list) ->>> accept: condition test failed ->>> processing "accept" +>>> accept: condition test failed in ACL "check_recipient" +>>> processing "accept" (TESTSUITE/test-config 25) >>> check hosts = +relay_hosts ->>> host in "*.masq.test.ex"? no (end of list) +>>> host in "+relay_hosts"? +>>> list element: +relay_hosts +>>> host in "*.masq.test.ex"? +>>> list element: *.masq.test.ex +>>> host in "*.masq.test.ex"? no (end of list) >>> host in "+relay_hosts"? no (end of list) ->>> accept: condition test failed ->>> processing "deny" ->>> deny: condition test succeeded -LOG: H=ten-1.test.ex [V4NET.0.0.1] F= rejected RCPT : relay not permitted +>>> 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=ten-1.test.ex (test) [V4NET.0.0.1] F= rejected RCPT : relay not permitted Exim version x.yz .... changed uid/gid: forcing real = effective - uid=uuuu gid=CALLER_GID pid=pppp + uid=uuuu gid=CALLER_GID pid=p1234 configuration file is TESTSUITE/test-config admin user changed uid/gid: privilege not needed - uid=EXIM_UID gid=EXIM_GID pid=pppp + uid=EXIM_UID gid=EXIM_GID pid=p1234 +seeking password data for user "CALLER": cache not available +getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME sender address = CALLER@test.ex sender_fullhost = [V4NET.99.99.90] @@ -74,29 +105,27 @@ sender_rcvhost = [V4NET.99.99.90] host in hosts_connection_nolog? no (option unset) LOG: smtp_connection MAIN SMTP connection from [V4NET.99.99.90] -host in host_lookup? yes (matched "0.0.0.0/0") +host in host_lookup? + list element: 0.0.0.0/0 + host in host_lookup? yes (matched "0.0.0.0/0") looking up host name for V4NET.99.99.90 DNS lookup of 90.99.99.V4NET.in-addr.arpa (PTR) using fakens DNS lookup of 90.99.99.V4NET.in-addr.arpa (PTR) succeeded -IP address lookup yielded host1.masq.test.ex - alias oneback.test.ex -using host_fake_gethostbyname for host1.masq.test.ex (IPv4) +IP address lookup yielded "oneback.test.ex" + alias "host1.masq.test.ex" +DNS lookup of oneback.test.ex (A) using fakens +DNS lookup of oneback.test.ex (A) succeeded +oneback.test.ex V4NET.99.99.90 mx=-1 sort=xx +checking addresses for oneback.test.ex +Forward DNS security status: unverified + V4NET.99.99.90 OK DNS lookup of host1.masq.test.ex (A) using fakens DNS lookup of host1.masq.test.ex (A) succeeded -MUNGED: ::1 will be omitted in what follows -get[host|ipnode]byname[2] looked up these IP addresses: - name=host1.masq.test.ex address=V4NET.90.90.90 +host1.masq.test.ex V4NET.90.90.90 mx=-1 sort=xx checking addresses for host1.masq.test.ex +Forward DNS security status: unverified V4NET.90.90.90 no IP address for host1.masq.test.ex matched V4NET.99.99.90 -using host_fake_gethostbyname for oneback.test.ex (IPv4) -DNS lookup of oneback.test.ex (A) using fakens -DNS lookup of oneback.test.ex (A) succeeded -MUNGED: ::1 will be omitted in what follows -get[host|ipnode]byname[2] looked up these IP addresses: - name=oneback.test.ex address=V4NET.99.99.90 -checking addresses for oneback.test.ex - V4NET.99.99.90 OK sender_fullhost = oneback.test.ex [V4NET.99.99.90] sender_rcvhost = oneback.test.ex ([V4NET.99.99.90]) set_process_info: pppp handling incoming connection from oneback.test.ex [V4NET.99.99.90] @@ -106,46 +135,79 @@ host in recipient_unqualified_hosts? no (option unset) 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) -SMTP>> 220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +SMTP>> 220 the.local.host.name ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 smtp_setup_msg entered +SMTP<< helo test +sender_fullhost = oneback.test.ex (test) [V4NET.99.99.90] +sender_rcvhost = oneback.test.ex ([V4NET.99.99.90] helo=test) +set_process_info: pppp handling incoming connection from oneback.test.ex (test) [V4NET.99.99.90] +SMTP>> 250 the.local.host.name Hello oneback.test.ex [V4NET.99.99.90] SMTP<< mail from: -SMTP>> 250 OK +spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0 +log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 +SMTP>> 250 OK SMTP<< rcpt to: using ACL "check_recipient" -processing "accept" +processing "accept" (TESTSUITE/test-config 23) check hosts = : +host in ":"? + list element: host in ":"? no (end of list) -accept: condition test failed -processing "accept" +accept: condition test failed in ACL "check_recipient" +processing "accept" (TESTSUITE/test-config 24) 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 -SMTP>> 250 Accepted +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 +SMTP>> 250 Accepted SMTP<< rcpt to: using ACL "check_recipient" -processing "accept" +processing "accept" (TESTSUITE/test-config 23) check hosts = : +host in ":"? + list element: host in ":"? no (end of list) -accept: condition test failed -processing "accept" +accept: condition test failed in ACL "check_recipient" +processing "accept" (TESTSUITE/test-config 24) check domains = +local_domains -cam.ac.uk in "test.ex"? no (end of list) +cam.ac.uk in "+local_domains"? + list element: +local_domains + start sublist local_domains + cam.ac.uk in "test.ex"? + ╎list element: test.ex + cam.ac.uk in "test.ex"? no (end of list) + end sublist local_domains cam.ac.uk in "+local_domains"? no (end of list) -accept: condition test failed -processing "accept" +accept: condition test failed in ACL "check_recipient" +processing "accept" (TESTSUITE/test-config 25) check hosts = +relay_hosts -host in "*.masq.test.ex"? no (end of list) +host in "+relay_hosts"? + list element: +relay_hosts + start sublist relay_hosts + host in "*.masq.test.ex"? + ╎list element: *.masq.test.ex + host in "*.masq.test.ex"? no (end of list) + end sublist relay_hosts host in "+relay_hosts"? no (end of list) -accept: condition test failed -processing "deny" -deny: condition test succeeded -SMTP>> 550 relay not permitted +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 +SMTP>> 550 relay not permitted LOG: MAIN REJECT - H=oneback.test.ex [V4NET.99.99.90] F= rejected RCPT : relay not permitted + H=oneback.test.ex (test) [V4NET.99.99.90] F= rejected RCPT : relay not permitted SMTP<< quit -SMTP>> 221 the.local.host.name closing connection +SMTP>> 221 the.local.host.name closing connection LOG: smtp_connection MAIN - SMTP connection from oneback.test.ex [V4NET.99.99.90] closed by QUIT + SMTP connection from oneback.test.ex (test) [V4NET.99.99.90] D=qqs closed by QUIT search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>