X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/824ac9569a44ae411785f7ba2014d243e85b992d..82ab9af25b43cb3b56a95383eba52a866400911a:/test/stderr/0085 diff --git a/test/stderr/0085 b/test/stderr/0085 index 8e53c8a18..5befd2cfd 100644 --- a/test/stderr/0085 +++ b/test/stderr/0085 @@ -1,10 +1,10 @@ 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 @@ -19,12 +19,21 @@ routing x@y.z --------> smart1 router <-------- local_part=x domain=y.z checking domains +y.z in "smart.domain"? + list element: smart.domain y.z in "smart.domain"? no (end of list) smart1 router skipped: domains mismatch --------> fail_remote_domains router <-------- local_part=x domain=y.z checking domains -y.z in "test.ex : myhost.test.ex"? no (end of list) +y.z in "! +local_domains"? + list element: ! +local_domains + start sublist local_domains + y.z in "test.ex : myhost.test.ex"? + ╎list element: test.ex + ╎list element: myhost.test.ex + y.z in "test.ex : myhost.test.ex"? no (end of list) + end sublist local_domains y.z in "! +local_domains"? yes (end of list) calling fail_remote_domains router rda_interpret (string): ':fail: unrouteable mail domain "$domain"' @@ -42,7 +51,9 @@ routing x@smart.domain --------> smart1 router <-------- local_part=x domain=smart.domain checking domains -smart.domain in "smart.domain"? yes (matched "smart.domain") +smart.domain in "smart.domain"? + list element: smart.domain + smart.domain in "smart.domain"? yes (matched "smart.domain") checking local_parts search_open: lsearch "TESTSUITE/aux-fixed/0085.data" search_find: file="TESTSUITE/aux-fixed/0085.data" @@ -54,8 +65,11 @@ checking local_parts type=lsearch key="smart.domain" opts=NULL file lookup required for smart.domain in TESTSUITE/aux-fixed/0085.data - lookup yielded: x : y : abc@d.e.f -x in "x : y : abc@d.e.f"? yes (matched "x") + creating new cache entry + lookup yielded: x░:░y░:░abc@d.e.f +x in "x : y : abc@d.e.f"? + list element: x + x in "x : y : abc@d.e.f"? yes (matched "x") checking senders search_open: lsearch "TESTSUITE/aux-fixed/0085.data" cached open @@ -68,25 +82,37 @@ checking senders type=lsearch key="smart.domain" opts=NULL cached data used for lookup of smart.domain in TESTSUITE/aux-fixed/0085.data - lookup yielded: x : y : abc@d.e.f -address match test: subject=abc@d.e.f pattern=x -d.e.f in "x"? no (end of list) -address match test: subject=abc@d.e.f pattern=y -d.e.f in "y"? no (end of list) -address match test: subject=abc@d.e.f pattern=abc@d.e.f -d.e.f in "d.e.f"? yes (matched "d.e.f") -abc@d.e.f in "x : y : abc@d.e.f"? yes (matched "abc@d.e.f") + lookup yielded: x░:░y░:░abc@d.e.f +abc@d.e.f in "x : y : abc@d.e.f"? + list element: x + address match test: subject=abc@d.e.f pattern=x + d.e.f in "x"? + list element: x + d.e.f in "x"? no (end of list) + list element: y + address match test: subject=abc@d.e.f pattern=y + d.e.f in "y"? + list element: y + d.e.f in "y"? no (end of list) + list element: abc@d.e.f + address match test: subject=abc@d.e.f pattern=abc@d.e.f + d.e.f in "d.e.f"? + list element: d.e.f + d.e.f in "d.e.f"? yes (matched "d.e.f") + abc@d.e.f in "x : y : abc@d.e.f"? yes (matched "abc@d.e.f") calling smart1 router smart1 router called for x@smart.domain domain = smart.domain route_item = * -smart.domain in "*"? yes (matched "*") +smart.domain in "*"? + list element: * + smart.domain in "*"? yes (matched "*") original list of hosts = '' options = '' expanded list of hosts = '' options = '' queued for transport: local_part = x domain = smart.domain errors_to=NULL - domain_data=smart.domain localpart_data=x + domain_data=smart.domain local_part_data=x routed by smart1 router envelope to: x@smart.domain transport: @@ -99,19 +125,29 @@ routing x@test.ex --------> smart1 router <-------- local_part=x domain=test.ex checking domains +test.ex in "smart.domain"? + list element: smart.domain test.ex in "smart.domain"? no (end of list) smart1 router skipped: domains mismatch --------> fail_remote_domains router <-------- local_part=x domain=test.ex checking domains -test.ex in "test.ex : myhost.test.ex"? yes (matched "test.ex") -data from lookup saved for cache for +local_domains: test.ex -test.ex in "! +local_domains"? no (matched "! +local_domains") +test.ex in "! +local_domains"? + list element: ! +local_domains + start sublist local_domains + test.ex in "test.ex : myhost.test.ex"? + ╎list element: test.ex + ╎test.ex in "test.ex : myhost.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"? no (matched "! +local_domains") fail_remote_domains router skipped: domains mismatch --------> smart2 router <-------- local_part=x domain=test.ex checking domains -test.ex in "test.ex"? yes (matched "test.ex") +test.ex in "test.ex"? + list element: test.ex + test.ex in "test.ex"? yes (matched "test.ex") checking local_parts search_open: lsearch "TESTSUITE/aux-fixed/0085.data" cached open @@ -124,8 +160,11 @@ checking local_parts type=lsearch key="test.ex" opts=NULL file lookup required for test.ex in TESTSUITE/aux-fixed/0085.data - lookup yielded: x : y : abc@d.e.f -x in "x : y : abc@d.e.f"? yes (matched "x") + creating new cache entry + lookup yielded: x░:░y░:░abc@d.e.f +x in "x : y : abc@d.e.f"? + list element: x + x in "x : y : abc@d.e.f"? yes (matched "x") checking senders search_open: lsearch "TESTSUITE/aux-fixed/0085.data" cached open @@ -138,14 +177,24 @@ checking senders type=lsearch key="test.ex" opts=NULL cached data used for lookup of test.ex in TESTSUITE/aux-fixed/0085.data - lookup yielded: x : y : abc@d.e.f -address match test: subject=abc@d.e.f pattern=x -d.e.f in "x"? no (end of list) -address match test: subject=abc@d.e.f pattern=y -d.e.f in "y"? no (end of list) -address match test: subject=abc@d.e.f pattern=abc@d.e.f -d.e.f in "d.e.f"? yes (matched "d.e.f") -abc@d.e.f in "x : y : abc@d.e.f"? yes (matched "abc@d.e.f") + lookup yielded: x░:░y░:░abc@d.e.f +abc@d.e.f in "x : y : abc@d.e.f"? + list element: x + address match test: subject=abc@d.e.f pattern=x + d.e.f in "x"? + list element: x + d.e.f in "x"? no (end of list) + list element: y + address match test: subject=abc@d.e.f pattern=y + d.e.f in "y"? + list element: y + d.e.f in "y"? no (end of list) + list element: abc@d.e.f + address match test: subject=abc@d.e.f pattern=abc@d.e.f + d.e.f in "d.e.f"? + list element: d.e.f + d.e.f in "d.e.f"? yes (matched "d.e.f") + abc@d.e.f in "x : y : abc@d.e.f"? yes (matched "abc@d.e.f") checking require_files search_open: lsearch "TESTSUITE/aux-fixed/0085.data" cached open @@ -158,6 +207,7 @@ checking require_files type=lsearch key="test.ex.files" opts=NULL file lookup required for test.ex.files in TESTSUITE/aux-fixed/0085.data + creating new cache entry lookup yielded: /etc/passwd file check: ${lookup{$domain.files}lsearch{TESTSUITE/aux-fixed/0085.data}{$value}} expanded file: /etc/passwd @@ -169,7 +219,7 @@ set transport dummy queued for dummy transport: local_part = x domain = test.ex errors_to=NULL - domain_data=test.ex localpart_data=x + domain_data=test.ex local_part_data=x routed by smart2 router envelope to: x@test.ex transport: dummy @@ -182,30 +232,41 @@ routing x@myhost.test.ex --------> smart1 router <-------- local_part=x domain=myhost.test.ex checking domains +myhost.test.ex in "smart.domain"? + list element: smart.domain myhost.test.ex in "smart.domain"? no (end of list) smart1 router skipped: domains mismatch --------> fail_remote_domains router <-------- local_part=x domain=myhost.test.ex checking domains -myhost.test.ex in "test.ex : myhost.test.ex"? yes (matched "myhost.test.ex") -data from lookup saved for cache for +local_domains: myhost.test.ex -myhost.test.ex in "! +local_domains"? no (matched "! +local_domains") +myhost.test.ex in "! +local_domains"? + list element: ! +local_domains + start sublist local_domains + myhost.test.ex in "test.ex : myhost.test.ex"? + ╎list element: test.ex + ╎list element: myhost.test.ex + ╎myhost.test.ex in "test.ex : myhost.test.ex"? yes (matched "myhost.test.ex") + end sublist local_domains + data from lookup saved for cache for +local_domains: key 'myhost.test.ex' value 'myhost.test.ex' + myhost.test.ex in "! +local_domains"? no (matched "! +local_domains") fail_remote_domains router skipped: domains mismatch --------> smart2 router <-------- local_part=x domain=myhost.test.ex checking domains +myhost.test.ex in "test.ex"? + list element: test.ex myhost.test.ex in "test.ex"? no (end of list) smart2 router skipped: domains mismatch no more routers search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>> Exim version x.yz .... changed uid/gid: forcing real = effective - uid=uuuu gid=CALLER_GID pid=pppp + uid=uuuu gid=CALLER_GID pid=p1235 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=p1235 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 @@ -220,12 +281,21 @@ routing x@y.z --------> smart1 router <-------- local_part=x domain=y.z checking domains +y.z in "smart.domain"? + list element: smart.domain y.z in "smart.domain"? no (end of list) smart1 router skipped: domains mismatch --------> fail_remote_domains router <-------- local_part=x domain=y.z checking domains -y.z in "test.ex : myhost.test.ex"? no (end of list) +y.z in "! +local_domains"? + list element: ! +local_domains + start sublist local_domains + y.z in "test.ex : myhost.test.ex"? + ╎list element: test.ex + ╎list element: myhost.test.ex + y.z in "test.ex : myhost.test.ex"? no (end of list) + end sublist local_domains y.z in "! +local_domains"? yes (end of list) calling fail_remote_domains router rda_interpret (string): ':fail: unrouteable mail domain "$domain"' @@ -243,7 +313,9 @@ routing x@smart.domain --------> smart1 router <-------- local_part=x domain=smart.domain checking domains -smart.domain in "smart.domain"? yes (matched "smart.domain") +smart.domain in "smart.domain"? + list element: smart.domain + smart.domain in "smart.domain"? yes (matched "smart.domain") checking local_parts search_open: lsearch "TESTSUITE/aux-fixed/0085.data" search_find: file="TESTSUITE/aux-fixed/0085.data" @@ -255,8 +327,11 @@ checking local_parts type=lsearch key="smart.domain" opts=NULL file lookup required for smart.domain in TESTSUITE/aux-fixed/0085.data - lookup yielded: x : y : abc@d.e.f -x in "x : y : abc@d.e.f"? yes (matched "x") + creating new cache entry + lookup yielded: x░:░y░:░abc@d.e.f +x in "x : y : abc@d.e.f"? + list element: x + x in "x : y : abc@d.e.f"? yes (matched "x") checking senders search_open: lsearch "TESTSUITE/aux-fixed/0085.data" cached open @@ -269,18 +344,33 @@ checking senders type=lsearch key="smart.domain" opts=NULL cached data used for lookup of smart.domain in TESTSUITE/aux-fixed/0085.data - lookup yielded: x : y : abc@d.e.f -address match test: subject=CALLER@myhost.test.ex pattern=x -myhost.test.ex in "x"? no (end of list) -address match test: subject=CALLER@myhost.test.ex pattern=y -myhost.test.ex in "y"? no (end of list) -address match test: subject=CALLER@myhost.test.ex pattern=abc@d.e.f + lookup yielded: x░:░y░:░abc@d.e.f +CALLER@myhost.test.ex in "x : y : abc@d.e.f"? + list element: x + address match test: subject=CALLER@myhost.test.ex pattern=x + myhost.test.ex in "x"? + list element: x + myhost.test.ex in "x"? no (end of list) + list element: y + address match test: subject=CALLER@myhost.test.ex pattern=y + myhost.test.ex in "y"? + list element: y + myhost.test.ex in "y"? no (end of list) + list element: abc@d.e.f + address match test: subject=CALLER@myhost.test.ex pattern=abc@d.e.f CALLER@myhost.test.ex in "x : y : abc@d.e.f"? no (end of list) smart1 router skipped: senders mismatch --------> fail_remote_domains router <-------- local_part=x domain=smart.domain checking domains -smart.domain in "test.ex : myhost.test.ex"? no (end of list) +smart.domain in "! +local_domains"? + list element: ! +local_domains + start sublist local_domains + smart.domain in "test.ex : myhost.test.ex"? + ╎list element: test.ex + ╎list element: myhost.test.ex + smart.domain in "test.ex : myhost.test.ex"? no (end of list) + end sublist local_domains smart.domain in "! +local_domains"? yes (end of list) calling fail_remote_domains router rda_interpret (string): ':fail: unrouteable mail domain "$domain"' @@ -298,19 +388,29 @@ routing x@test.ex --------> smart1 router <-------- local_part=x domain=test.ex checking domains +test.ex in "smart.domain"? + list element: smart.domain test.ex in "smart.domain"? no (end of list) smart1 router skipped: domains mismatch --------> fail_remote_domains router <-------- local_part=x domain=test.ex checking domains -test.ex in "test.ex : myhost.test.ex"? yes (matched "test.ex") -data from lookup saved for cache for +local_domains: test.ex -test.ex in "! +local_domains"? no (matched "! +local_domains") +test.ex in "! +local_domains"? + list element: ! +local_domains + start sublist local_domains + test.ex in "test.ex : myhost.test.ex"? + ╎list element: test.ex + ╎test.ex in "test.ex : myhost.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"? no (matched "! +local_domains") fail_remote_domains router skipped: domains mismatch --------> smart2 router <-------- local_part=x domain=test.ex checking domains -test.ex in "test.ex"? yes (matched "test.ex") +test.ex in "test.ex"? + list element: test.ex + test.ex in "test.ex"? yes (matched "test.ex") checking local_parts search_open: lsearch "TESTSUITE/aux-fixed/0085.data" cached open @@ -323,8 +423,11 @@ checking local_parts type=lsearch key="test.ex" opts=NULL file lookup required for test.ex in TESTSUITE/aux-fixed/0085.data - lookup yielded: x : y : abc@d.e.f -x in "x : y : abc@d.e.f"? yes (matched "x") + creating new cache entry + lookup yielded: x░:░y░:░abc@d.e.f +x in "x : y : abc@d.e.f"? + list element: x + x in "x : y : abc@d.e.f"? yes (matched "x") checking senders search_open: lsearch "TESTSUITE/aux-fixed/0085.data" cached open @@ -337,12 +440,20 @@ checking senders type=lsearch key="test.ex" opts=NULL cached data used for lookup of test.ex in TESTSUITE/aux-fixed/0085.data - lookup yielded: x : y : abc@d.e.f -address match test: subject=CALLER@myhost.test.ex pattern=x -myhost.test.ex in "x"? no (end of list) -address match test: subject=CALLER@myhost.test.ex pattern=y -myhost.test.ex in "y"? no (end of list) -address match test: subject=CALLER@myhost.test.ex pattern=abc@d.e.f + lookup yielded: x░:░y░:░abc@d.e.f +CALLER@myhost.test.ex in "x : y : abc@d.e.f"? + list element: x + address match test: subject=CALLER@myhost.test.ex pattern=x + myhost.test.ex in "x"? + list element: x + myhost.test.ex in "x"? no (end of list) + list element: y + address match test: subject=CALLER@myhost.test.ex pattern=y + myhost.test.ex in "y"? + list element: y + myhost.test.ex in "y"? no (end of list) + list element: abc@d.e.f + address match test: subject=CALLER@myhost.test.ex pattern=abc@d.e.f CALLER@myhost.test.ex in "x : y : abc@d.e.f"? no (end of list) smart2 router skipped: senders mismatch no more routers @@ -355,20 +466,31 @@ routing x@myhost.test.ex --------> smart1 router <-------- local_part=x domain=myhost.test.ex checking domains +myhost.test.ex in "smart.domain"? + list element: smart.domain myhost.test.ex in "smart.domain"? no (end of list) smart1 router skipped: domains mismatch --------> fail_remote_domains router <-------- local_part=x domain=myhost.test.ex checking domains -myhost.test.ex in "test.ex : myhost.test.ex"? yes (matched "myhost.test.ex") -data from lookup saved for cache for +local_domains: myhost.test.ex -myhost.test.ex in "! +local_domains"? no (matched "! +local_domains") +myhost.test.ex in "! +local_domains"? + list element: ! +local_domains + start sublist local_domains + myhost.test.ex in "test.ex : myhost.test.ex"? + ╎list element: test.ex + ╎list element: myhost.test.ex + ╎myhost.test.ex in "test.ex : myhost.test.ex"? yes (matched "myhost.test.ex") + end sublist local_domains + data from lookup saved for cache for +local_domains: key 'myhost.test.ex' value 'myhost.test.ex' + myhost.test.ex in "! +local_domains"? no (matched "! +local_domains") fail_remote_domains router skipped: domains mismatch --------> smart2 router <-------- local_part=x domain=myhost.test.ex checking domains +myhost.test.ex in "test.ex"? + list element: test.ex myhost.test.ex in "test.ex"? no (end of list) smart2 router skipped: domains mismatch no more routers search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>