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