X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/694723cd4d547b884dbfef18584ef0279685c3b8..2658a023286fcce529031e9f071c5579650687b8:/test/stderr/0278?ds=sidebyside diff --git a/test/stderr/0278 b/test/stderr/0278 index 715ac14b8..c5b926186 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,29 +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") -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 = NULL -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 = NULL -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 @@ -51,19 +83,19 @@ set transport t1 queued for t1 transport: local_part = CALLER domain = test.ex errors_to=NULL - domain_data=NULL localpart_data=NULL + domain_data=NULL local_part_data=CALLER routed by r3 router envelope to: CALLER@test.ex transport: t1 search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (main) 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 @@ -77,36 +109,37 @@ 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: +I Message-Id: F From: CALLER_NAME Date: Tue, 2 Mar 1999 09:44:33 +0000 -Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D -Data file written for message 10HmaX-0005vi-00 +Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D +Data file written for message 10HmaX-000000005vi-0000 >>Generated Received: header line 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 -Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00 -DSN: Write SPOOL: -dsn_envid NULL -DSN: Write SPOOL :-dsn_ret 0 -DSN: Flags: 0x0 + id 10HmaX-000000005vi-0000 + for CALLER@test.ex; + Tue, 2 Mar 1999 09:44:33 +0000 +Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-000000005vi-0000 DSN: **** SPOOL_OUT - address: errorsto: orcpt: dsn_flags: 0x0 -Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H +Renaming spool header file: TESTSUITE/spool//input//10HmaX-000000005vi-0000-H Size of headers = sss LOG: MAIN <= CALLER@test.ex U=CALLER P=local S=sss created log directory TESTSUITE/spool/log search_tidyup called -exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -odi -Mc 10HmaX-0005vi-00 +exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-000000005vi-0000 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 @@ -114,17 +147,17 @@ dropping to exim gid; retaining priv uid seeking password data for user "CALLER": cache not available getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID set_process_info: pppp delivering specified messages -set_process_info: pppp delivering 10HmaX-0005vi-00 -Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D -reading spool file 10HmaX-0005vi-00-H +set_process_info: pppp delivering 10HmaX-000000005vi-0000 +Trying spool file TESTSUITE/spool//input//10HmaX-000000005vi-0000-D +reading spool file 10HmaX-000000005vi-0000-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 @@ -132,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 @@ -146,29 +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") -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 = NULL -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 = NULL -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 @@ -179,7 +243,7 @@ set transport t1 queued for t1 transport: local_part = CALLER domain = test.ex errors_to=NULL - domain_data=NULL localpart_data=NULL + domain_data=NULL local_part_data=CALLER routed by r3 router envelope to: CALLER@test.ex transport: t1 @@ -201,9 +265,9 @@ 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 +set_process_info: pppp delivering 10HmaX-000000005vi-0000 to CALLER using t1 appendfile transport entered appendfile: mode=600 notify_comsat=0 quota=0 warning=0 file=/dev/null format=unix @@ -220,8 +284,8 @@ LOG: MAIN => CALLER R=r3 T=t1 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>> changed uid/gid: post-delivery tidying - uid=EXIM_UID gid=EXIM_GID pid=pppp -set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00 + uid=EXIM_UID gid=EXIM_GID pid=p1236 +set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000 Processing retry items Succeeded addresses: CALLER@test.ex: no retry items @@ -238,15 +302,15 @@ DSN: Remote SMTP server supports DSN: 0 DSN: not sending DSN success message LOG: MAIN Completed -end delivery of 10HmaX-0005vi-00 +end delivery of 10HmaX-000000005vi-0000 search_tidyup called search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1236 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp (main) 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 @@ -264,70 +328,127 @@ 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 -faking res_search() response length as 65535 +faking res_search(MX) response length as 65535 writing neg-cache entry for test.ex-MX-xxxx, ttl 3000 test.ex (MX resp) DNSSEC -faking res_search() response length as 65535 DNS lookup of test.ex (A) using fakens DNS lookup of test.ex (A) gave NO_DATA returning DNS_NODATA -faking res_search() response length as 65535 +faking res_search(A) response length as 65535 writing neg-cache entry for test.ex-A-xxxx, ttl 3000 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 (main) terminating with rc=2 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1238 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>