X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/a2da3176aa39ec9aa5ae495e5a6d533477f871aa..114b01dded2c9d72cdd44cac97a4d3cc9f22ddfd:/test/stderr/0278?ds=inline diff --git a/test/stderr/0278 b/test/stderr/0278 index 5ef41ea6d..6f80654b3 100644 --- a/test/stderr/0278 +++ b/test/stderr/0278 @@ -1,15 +1,11 @@ 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 seeking password data for user "CALLER": cache not available getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID -DSN: r1 propagating DSN -DSN: r2 propagating DSN -DSN: r3 propagating DSN -DSN: r4 propagating DSN -DSN: r5 propagating DSN originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME sender address = CALLER@test.ex Address testing: uid=uuuu gid=EXIM_GID euid=uuuu egid=EXIM_GID @@ -22,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 @@ -55,132 +83,156 @@ 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 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 -DSN: r1 propagating DSN -DSN: r2 propagating DSN -DSN: r3 propagating DSN -DSN: r4 propagating DSN -DSN: r5 propagating DSN originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME sender address = CALLER@test.ex set_process_info: pppp accepting a local non-SMTP message from +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 Sender: CALLER@test.ex Recipients: CALLER@test.ex search_tidyup called >>Headers received: -rewrite_one_header: type=F: - From: CALLER_NAME +qualify & rewrite recipients list +rewrite rules on sender address +qualify and rewrite headers + rewrite_one_header: type=F: + From: CALLER_NAME search_tidyup called >>Headers after rewriting and local additions: -I Message-Id: -F From: CALLER_NAME - Date: Tue, 2 Mar 1999 09:44:33 +0000 + 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 -calling local_scan(); timeout=300 -local_scan() returned 0 NULL -Writing spool header file: TESTSUITE/spool/input///hdr.pppp -DSN: Write SPOOL :-dsn_envid NULL -DSN: Write SPOOL :-dsn_ret 0 -DSN: Flags :0 -DSN: **** SPOOL_OUT - address: |CALLER@test.ex| errorsto: |NULL| orcpt: |NULL| dsn_flags: 0 -Renaming spool header file: TESTSUITE/spool/input///10HmaX-0005vi-00-H + 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-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=0xfbb95cfd -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 +dropping to exim gid; retaining priv uid seeking password data for user "CALLER": cache not available getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID -DSN: r1 propagating DSN -DSN: r2 propagating DSN -DSN: r3 propagating DSN -DSN: r4 propagating DSN -DSN: r5 propagating DSN 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 -DSN: set orcpt: NULL flags: 0 +body_linecount=0 message_linecount=8 +DSN: set orcpt: flags: 0x0 Delivery address list: CALLER@test.ex -locking TESTSUITE/spool/db/retry.lockfile -locked TESTSUITE/spool/db/retry.lockfile -EXIM_DBOPEN(TESTSUITE/spool/db/retry) -returned from EXIM_DBOPEN -ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim + locking TESTSUITE/spool/db/retry.lockfile + locked TESTSUITE/spool/db/retry.lockfile + EXIM_DBOPEN: file dir flags=O_RDONLY + returned from EXIM_DBOPEN: (nil) + failed to open DB file TESTSUITE/spool/db/retry: No such file or directory no retry data available >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Considering: CALLER@test.ex unique = CALLER@test.ex -no domain retry record -no address retry record +no domain retry record +no address retry record CALLER@test.ex: queued for routing >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 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 @@ -191,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 @@ -205,16 +257,17 @@ After routing: search_tidyup called >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>> --------> CALLER@test.ex <-------- -locking TESTSUITE/spool/db/retry.lockfile -locked TESTSUITE/spool/db/retry.lockfile -EXIM_DBOPEN(TESTSUITE/spool/db/retry) -returned from EXIM_DBOPEN + locking TESTSUITE/spool/db/retry.lockfile + locked TESTSUITE/spool/db/retry.lockfile + EXIM_DBOPEN: file dir flags=O_RDONLY + returned from EXIM_DBOPEN: (nil) + failed to open DB file TESTSUITE/spool/db/retry: No such file or directory 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 @@ -231,42 +284,38 @@ 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 + CALLER@test.ex: no retry items Failed addresses: Deferred addresses: end of retry processing DSN: processing router : r3 DSN: processing successful delivery address: CALLER@test.ex DSN: Sender_address: CALLER@test.ex -DSN: orcpt: NULL flags: 0 +DSN: orcpt: NULL flags: 0x0 DSN: envid: NULL ret: 0 DSN: Final recipient: CALLER@test.ex 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 terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1236 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> search_tidyup called ->>>>>>>>>>>>>>>> Exim pid=pppp 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 seeking password data for user "CALLER": cache not available getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID -DSN: r1 propagating DSN -DSN: r2 propagating DSN -DSN: r3 propagating DSN -DSN: r4 propagating DSN -DSN: r5 propagating DSN originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME sender address = CALLER@test.ex Address testing: uid=uuuu gid=EXIM_GID euid=uuuu egid=EXIM_GID @@ -279,63 +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 "*"? + 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(MX) response length as 65535 + writing neg-cache entry for test.ex-MX-xxxx, ttl 3000 +test.ex (MX resp) DNSSEC DNS lookup of test.ex (A) using fakens DNS lookup of test.ex (A) gave NO_DATA returning DNS_NODATA +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 terminating with rc=2 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1238 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>