Add priv.c: reworked version of priv dropping code
[exim.git] / test / stderr / 0408
1 Exim version x.yz ....
2 changed uid/gid: forcing real = effective
3   uid=uuuu gid=CALLER_GID pid=pppp
4 configuration file is TESTSUITE/test-config
5 admin user
6 changed uid/gid: privilege not needed
7   uid=EXIM_UID gid=EXIM_GID pid=pppp
8 seeking password data for user "CALLER": cache not available
9 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
10 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
11 sender address = CALLER@test.ex
12 set_process_info: pppp accepting a local non-SMTP message from <CALLER@test.ex>
13 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
14 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
15 Sender: CALLER@test.ex
16 Recipients:
17   userx@test.ex
18 search_tidyup called
19 >>Headers received:
20
21 rewrite_one_header: type=F:
22   From: CALLER_NAME <CALLER@test.ex>
23 search_tidyup called
24 >>Headers after rewriting and local additions:
25 I Message-Id: <E10HmaX-0005vi-00@mail.test.ex>
26 F From: CALLER_NAME <CALLER@test.ex>
27   Date: Tue, 2 Mar 1999 09:44:33 +0000
28
29 Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D
30 Data file written for message 10HmaX-0005vi-00
31 >>Generated Received: header line
32 P Received: from CALLER by mail.test.ex with local (Exim x.yz)
33         (envelope-from <CALLER@test.ex>)
34         id 10HmaX-0005vi-00
35         for userx@test.ex;
36         Tue, 2 Mar 1999 09:44:33 +0000
37 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00
38 DSN: **** SPOOL_OUT - address: <userx@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
39 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
40 Size of headers = sss
41 LOG: MAIN
42   <= CALLER@test.ex U=CALLER P=local S=sss
43 created log directory TESTSUITE/spool/log
44 search_tidyup called
45 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-0005vi-00
46 Exim version x.yz ....
47 changed uid/gid: forcing real = effective
48   uid=uuuu gid=EXIM_GID pid=pppp
49 configuration file is TESTSUITE/test-config
50 trusted user
51 admin user
52 dropping to exim gid; retaining priv uid
53 seeking password data for user "CALLER": cache not available
54 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
55 set_process_info: pppp delivering specified messages
56 set_process_info: pppp delivering 10HmaX-0005vi-00
57 Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D
58 reading spool file 10HmaX-0005vi-00-H
59 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@test.ex
60 sender_local=1 ident=CALLER
61 Non-recipients:
62  Empty Tree
63 ---- End of tree ----
64 recipients_count=1
65 **** SPOOL_IN - No additional fields
66 body_linecount=0 message_linecount=8
67 DSN: set orcpt:   flags: 0x0
68 Delivery address list:
69   userx@test.ex 
70  locking TESTSUITE/spool/db/retry.lockfile
71  locked  TESTSUITE/spool/db/retry.lockfile
72  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
73  returned from EXIM_DBOPEN: (nil)
74  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
75 no retry data available
76 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
77 Considering: userx@test.ex
78 unique = userx@test.ex
79 no   domain  retry record
80 no   address retry record
81 userx@test.ex: queued for routing
82 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
83 routing userx@test.ex
84 --------> r1 router <--------
85 local_part=userx domain=test.ex
86 checking local_parts
87 userx in "userx : usery"? yes (matched "userx")
88 calling r1 router
89 r1 router called for userx@test.ex
90   domain = test.ex
91 ------ Verifying errors address usery ------
92 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
93 Verifying usery@test.ex
94 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
95 Considering usery@test.ex
96 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
97 routing usery@test.ex
98 --------> r1 router <--------
99 local_part=usery domain=test.ex
100 checking local_parts
101 usery in "userx : usery"? yes (matched "usery")
102 calling r1 router
103 r1 router called for usery@test.ex
104   domain = test.ex
105 skipped verify errors_to address: already verifying
106 set transport t1
107 queued for t1 transport: local_part = usery
108 domain = test.ex
109   errors_to=usery
110   domain_data=NULL local_part_data=usery
111 routed by r1 router
112   envelope to: usery@test.ex
113   transport: t1
114   errors to usery
115 ------ End verifying errors address usery ------
116 queued for t1 transport: local_part = userx
117 domain = test.ex
118   errors_to=usery@test.ex
119   domain_data=NULL local_part_data=userx
120 routed by r1 router
121   envelope to: userx@test.ex
122   transport: t1
123   errors to usery@test.ex
124 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
125 After routing:
126   Local deliveries:
127     userx@test.ex
128   Remote deliveries:
129   Failed addresses:
130   Deferred addresses:
131 search_tidyup called
132 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
133 --------> userx@test.ex <--------
134  locking TESTSUITE/spool/db/retry.lockfile
135  locked  TESTSUITE/spool/db/retry.lockfile
136  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
137  returned from EXIM_DBOPEN: (nil)
138  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
139 no retry data available
140 search_tidyup called
141 changed uid/gid: local delivery to userx <userx@test.ex> transport=t1
142   uid=CALLER_UID gid=CALLER_GID pid=pppp
143   home=NULL current=/
144 set_process_info: pppp delivering 10HmaX-0005vi-00 to userx using t1
145 appendfile transport entered
146 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
147   file=TESTSUITE/test-mail/userx format=unix
148   message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
149   message_suffix=\n
150   maildir_use_size_file=no
151   locking by lockfile fcntl 
152 de-tainting path 'TESTSUITE/test-mail/userx'
153 lock name: TESTSUITE/test-mail/userx.lock
154 hitch name: TESTSUITE/test-mail/userx.lock.test.ex.dddddddd.pppppppp
155 lock file created
156 mailbox TESTSUITE/test-mail/userx is locked
157 writing to file TESTSUITE/test-mail/userx
158 writing data block fd=dddd size=sss timeout=0
159 cannot use sendfile for body: spoolfile not wireformat
160 writing data block fd=dddd size=sss timeout=0
161 writing data block fd=dddd size=sss timeout=0
162 appendfile yields 0 with errno=dd more_errno=dd
163 search_tidyup called
164 journalling userx@test.ex
165 t1 transport returned OK for userx@test.ex
166 post-process userx@test.ex (0)
167 userx@test.ex delivered
168 LOG: MAIN
169   => userx <userx@test.ex> R=r1 T=t1
170 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
171 changed uid/gid: post-delivery tidying
172   uid=EXIM_UID gid=EXIM_GID pid=pppp
173 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
174 Processing retry items
175 Succeeded addresses:
176  userx@test.ex: no retry items
177 Failed addresses:
178 Deferred addresses:
179 end of retry processing
180 DSN: processing router : r1
181 DSN: processing successful delivery address: userx@test.ex
182 DSN: Sender_address: CALLER@test.ex
183 DSN: orcpt: NULL  flags: 0x0
184 DSN: envid: NULL  ret: 0
185 DSN: Final recipient: userx@test.ex
186 DSN: Remote SMTP server supports DSN: 0
187 DSN: not sending DSN success message
188 LOG: MAIN
189   Completed
190 end delivery of 10HmaX-0005vi-00
191 search_tidyup called
192 search_tidyup called
193 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
194 search_tidyup called
195 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>