X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/faeb80dc19bd3cd02ca367090382e58151bfd13a..0c6608531368096bafebac4e488f84891368b006:/test/stderr/0278 diff --git a/test/stderr/0278 b/test/stderr/0278 index 60abd2a29..4cacfefbb 100644 --- a/test/stderr/0278 +++ b/test/stderr/0278 @@ -1,6 +1,6 @@ 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 dropping to exim gid; retaining priv uid @@ -18,30 +18,61 @@ routing CALLER@test.ex --------> r1 router <-------- local_part=CALLER domain=test.ex checking local_parts -CALLER in "never"? no (end of list) -CALLER in "never1"? no (end of list) -CALLER in "CALLER"? yes (matched "CALLER") -data from lookup saved for cache for +local_localparts: key 'CALLER' value 'CALLER' -CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? no (matched "! +local_localparts") +CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? + list element: +never_localparts + start sublist never_localparts + CALLER in "never"? + ╎list element: never + CALLER in "never"? no (end of list) + end sublist never_localparts + list element: +n1_localparts + start sublist n1_localparts + CALLER in "never1"? + ╎list element: never1 + CALLER in "never1"? no (end of list) + end sublist n1_localparts + list element: ! +local_localparts + start sublist local_localparts + CALLER in "CALLER"? + ╎list element: CALLER + ╎CALLER in "CALLER"? yes (matched "CALLER") + end sublist local_localparts + data from lookup saved for cache for +local_localparts: key 'CALLER' value 'CALLER' + CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? no (matched "! +local_localparts") r1 router skipped: local_parts mismatch --------> r2 router <-------- local_part=CALLER domain=test.ex checking local_parts -cached no match for +never_localparts -cached lookup data = NULL -cached no match for +n1_localparts -cached lookup data = NULL -CALLER in "<; never2 ; +n1_localparts"? no (end of list) -cached yes match for +local_localparts -cached lookup data = CALLER -CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? no (matched "!+local_localparts" - cached) +CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? + list element: +never_localparts + start sublist never_localparts + cached no match for +never_localparts + cached lookup data = NULL + list element: +n2_localparts + start sublist n2_localparts + CALLER in "<; never2 ; +n1_localparts"? + ╎list element: never2 + ╎list element: +n1_localparts + ╎ start sublist n1_localparts + ╎cached no match for +n1_localparts + ╎cached lookup data = NULL + CALLER in "<; never2 ; +n1_localparts"? no (end of list) + end sublist n2_localparts + list element: !+local_localparts + start sublist local_localparts + cached yes match for +local_localparts + cached lookup data = CALLER + CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? no (matched "!+local_localparts" - cached) r2 router skipped: local_parts mismatch --------> r3 router <-------- local_part=CALLER domain=test.ex checking local_parts -cached yes match for +local_localparts -cached lookup data = CALLER -CALLER in "+local_localparts"? yes (matched "+local_localparts" - cached) +CALLER in "+local_localparts"? + list element: +local_localparts + start sublist local_localparts + cached yes match for +local_localparts + cached lookup data = CALLER + CALLER in "+local_localparts"? yes (matched "+local_localparts" - cached) checking for local user seeking password data for user "CALLER": using cached result getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID @@ -52,19 +83,19 @@ set transport t1 queued for t1 transport: local_part = CALLER domain = test.ex errors_to=NULL - domain_data=NULL localpart_data=CALLER + domain_data=NULL local_part_data=CALLER routed by r3 router envelope to: CALLER@test.ex transport: t1 search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> 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 @@ -78,8 +109,11 @@ Recipients: search_tidyup called >>Headers received: -rewrite_one_header: type=F: - From: CALLER_NAME +qualify & rewrite recipients list +global rewrite rules +rewrite headers + rewrite_one_header: type=F: + From: CALLER_NAME search_tidyup called >>Headers after rewriting and local additions: I Message-Id: @@ -92,7 +126,8 @@ Data file written for message 10HmaX-0005vi-00 P Received: from CALLER by myhost.test.ex with local (Exim x.yz) (envelope-from ) id 10HmaX-0005vi-00 - for CALLER@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + for CALLER@test.ex; + Tue, 2 Mar 1999 09:44:33 +0000 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00 DSN: **** SPOOL_OUT - address: errorsto: orcpt: dsn_flags: 0x0 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H @@ -104,7 +139,7 @@ search_tidyup called exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-0005vi-00 Exim version x.yz .... changed uid/gid: forcing real = effective - uid=uuuu gid=EXIM_GID pid=pppp + uid=uuuu gid=EXIM_GID pid=p1236 configuration file is TESTSUITE/test-config trusted user admin user @@ -118,11 +153,11 @@ reading spool file 10HmaX-0005vi-00-H user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@test.ex sender_local=1 ident=CALLER Non-recipients: -Empty Tree + Empty Tree ---- End of tree ---- recipients_count=1 **** SPOOL_IN - No additional fields -body_linecount=0 message_linecount=7 +body_linecount=0 message_linecount=8 DSN: set orcpt: flags: 0x0 Delivery address list: CALLER@test.ex @@ -130,8 +165,7 @@ Delivery address list: locked TESTSUITE/spool/db/retry.lockfile EXIM_DBOPEN: file dir flags=O_RDONLY returned from EXIM_DBOPEN: (nil) - ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim - failed to open DB file TESTSUITE/spool/db/retry.lockfile: No such file or directory + failed to open DB file TESTSUITE/spool/db/retry: No such file or directory no retry data available >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Considering: CALLER@test.ex @@ -144,30 +178,61 @@ routing CALLER@test.ex --------> r1 router <-------- local_part=CALLER domain=test.ex checking local_parts -CALLER in "never"? no (end of list) -CALLER in "never1"? no (end of list) -CALLER in "CALLER"? yes (matched "CALLER") -data from lookup saved for cache for +local_localparts: key 'CALLER' value 'CALLER' -CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? no (matched "! +local_localparts") +CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? + list element: +never_localparts + start sublist never_localparts + CALLER in "never"? + ╎list element: never + CALLER in "never"? no (end of list) + end sublist never_localparts + list element: +n1_localparts + start sublist n1_localparts + CALLER in "never1"? + ╎list element: never1 + CALLER in "never1"? no (end of list) + end sublist n1_localparts + list element: ! +local_localparts + start sublist local_localparts + CALLER in "CALLER"? + ╎list element: CALLER + ╎CALLER in "CALLER"? yes (matched "CALLER") + end sublist local_localparts + data from lookup saved for cache for +local_localparts: key 'CALLER' value 'CALLER' + CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? no (matched "! +local_localparts") r1 router skipped: local_parts mismatch --------> r2 router <-------- local_part=CALLER domain=test.ex checking local_parts -cached no match for +never_localparts -cached lookup data = NULL -cached no match for +n1_localparts -cached lookup data = NULL -CALLER in "<; never2 ; +n1_localparts"? no (end of list) -cached yes match for +local_localparts -cached lookup data = CALLER -CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? no (matched "!+local_localparts" - cached) +CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? + list element: +never_localparts + start sublist never_localparts + cached no match for +never_localparts + cached lookup data = NULL + list element: +n2_localparts + start sublist n2_localparts + CALLER in "<; never2 ; +n1_localparts"? + ╎list element: never2 + ╎list element: +n1_localparts + ╎ start sublist n1_localparts + ╎cached no match for +n1_localparts + ╎cached lookup data = NULL + CALLER in "<; never2 ; +n1_localparts"? no (end of list) + end sublist n2_localparts + list element: !+local_localparts + start sublist local_localparts + cached yes match for +local_localparts + cached lookup data = CALLER + CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? no (matched "!+local_localparts" - cached) r2 router skipped: local_parts mismatch --------> r3 router <-------- local_part=CALLER domain=test.ex checking local_parts -cached yes match for +local_localparts -cached lookup data = CALLER -CALLER in "+local_localparts"? yes (matched "+local_localparts" - cached) +CALLER in "+local_localparts"? + list element: +local_localparts + start sublist local_localparts + cached yes match for +local_localparts + cached lookup data = CALLER + CALLER in "+local_localparts"? yes (matched "+local_localparts" - cached) checking for local user seeking password data for user "CALLER": using cached result getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID @@ -178,7 +243,7 @@ set transport t1 queued for t1 transport: local_part = CALLER domain = test.ex errors_to=NULL - domain_data=NULL localpart_data=CALLER + domain_data=NULL local_part_data=CALLER routed by r3 router envelope to: CALLER@test.ex transport: t1 @@ -200,7 +265,7 @@ search_tidyup called no retry data available search_tidyup called changed uid/gid: local delivery to CALLER transport=t1 - uid=CALLER_UID gid=CALLER_GID pid=pppp + uid=CALLER_UID gid=CALLER_GID pid=p1237 home=CALLER_HOME current=CALLER_HOME set_process_info: pppp delivering 10HmaX-0005vi-00 to CALLER using t1 appendfile transport entered @@ -219,7 +284,7 @@ LOG: MAIN => CALLER R=r3 T=t1 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>> changed uid/gid: post-delivery tidying - uid=EXIM_UID gid=EXIM_GID pid=pppp + uid=EXIM_UID gid=EXIM_GID pid=p1236 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00 Processing retry items Succeeded addresses: @@ -240,12 +305,12 @@ LOG: MAIN end delivery of 10HmaX-0005vi-00 search_tidyup called search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1236 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> Exim version x.yz .... changed uid/gid: forcing real = effective - uid=uuuu gid=CALLER_GID pid=pppp + uid=uuuu gid=CALLER_GID pid=p1238 configuration file is TESTSUITE/test-config admin user dropping to exim gid; retaining priv uid @@ -263,31 +328,63 @@ routing unknown@test.ex --------> r1 router <-------- local_part=unknown domain=test.ex checking local_parts -unknown in "never"? no (end of list) -unknown in "never1"? no (end of list) -unknown in "CALLER"? no (end of list) +unknown in "+never_localparts : +n1_localparts : ! +local_localparts"? + list element: +never_localparts + start sublist never_localparts + unknown in "never"? + ╎list element: never + unknown in "never"? no (end of list) + end sublist never_localparts + list element: +n1_localparts + start sublist n1_localparts + unknown in "never1"? + ╎list element: never1 + unknown in "never1"? no (end of list) + end sublist n1_localparts + list element: ! +local_localparts + start sublist local_localparts + unknown in "CALLER"? + ╎list element: CALLER + unknown in "CALLER"? no (end of list) + end sublist local_localparts unknown in "+never_localparts : +n1_localparts : ! +local_localparts"? yes (end of list) calling r1 router r1 router called for unknown@test.ex domain = test.ex route_item = never +test.ex in "never"? + list element: never test.ex in "never"? no (end of list) r1 router declined for unknown@test.ex --------> r2 router <-------- local_part=unknown domain=test.ex checking local_parts -cached no match for +never_localparts -cached lookup data = NULL -cached no match for +n1_localparts -cached lookup data = NULL -unknown in "<; never2 ; +n1_localparts"? no (end of list) -cached no match for +local_localparts -cached lookup data = NULL +unknown in "+never_localparts : +n2_localparts : !+local_localparts"? + list element: +never_localparts + start sublist never_localparts + cached no match for +never_localparts + cached lookup data = NULL + list element: +n2_localparts + start sublist n2_localparts + unknown in "<; never2 ; +n1_localparts"? + ╎list element: never2 + ╎list element: +n1_localparts + ╎ start sublist n1_localparts + ╎cached no match for +n1_localparts + ╎cached lookup data = NULL + unknown in "<; never2 ; +n1_localparts"? no (end of list) + end sublist n2_localparts + list element: !+local_localparts + start sublist local_localparts + cached no match for +local_localparts + cached lookup data = NULL unknown in "+never_localparts : +n2_localparts : !+local_localparts"? yes (end of list) calling r2 router r2 router called for unknown@test.ex domain = test.ex -test.ex in "*"? yes (matched "*") +test.ex in "*"? + list element: * + test.ex in "*"? yes (matched "*") DNS lookup of test.ex (MX) using fakens DNS lookup of test.ex (MX) gave NO_DATA returning DNS_NODATA @@ -303,29 +400,55 @@ r2 router declined for unknown@test.ex --------> r3 router <-------- local_part=unknown domain=test.ex checking local_parts -cached no match for +local_localparts -cached lookup data = NULL +unknown in "+local_localparts"? + list element: +local_localparts + start sublist local_localparts + cached no match for +local_localparts + cached lookup data = NULL unknown in "+local_localparts"? no (end of list) r3 router skipped: local_parts mismatch --------> r4 router <-------- local_part=unknown domain=test.ex checking local_parts -cached no match for +local_localparts -cached lookup data = NULL -unknown in "test.ex"? no (end of list) -unknown in "unexpanded"? no (end of list) +unknown in "+local_localparts : +expanded : +unexpanded"? + list element: +local_localparts + start sublist local_localparts + cached no match for +local_localparts + cached lookup data = NULL + list element: +expanded + start sublist expanded + unknown in "test.ex"? + ╎list element: test.ex + unknown in "test.ex"? no (end of list) + end sublist expanded + list element: +unexpanded + start sublist unexpanded + unknown in "unexpanded"? + ╎list element: unexpanded + unknown in "unexpanded"? no (end of list) + end sublist unexpanded unknown in "+local_localparts : +expanded : +unexpanded"? no (end of list) r4 router skipped: local_parts mismatch --------> r5 router <-------- local_part=unknown domain=test.ex checking local_parts -cached no match for +local_localparts -cached lookup data = NULL -unknown in "test.ex"? no (end of list) -cached no match for +unexpanded -cached lookup data = NULL +unknown in "+local_localparts : +expanded : +unexpanded"? + list element: +local_localparts + start sublist local_localparts + cached no match for +local_localparts + cached lookup data = NULL + list element: +expanded + start sublist expanded + unknown in "test.ex"? + ╎list element: test.ex + unknown in "test.ex"? no (end of list) + end sublist expanded + list element: +unexpanded + start sublist unexpanded + cached no match for +unexpanded + cached lookup data = NULL unknown in "+local_localparts : +expanded : +unexpanded"? no (end of list) r5 router skipped: local_parts mismatch no more routers search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1238 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>