Add priv.c: reworked version of priv dropping code
[exim.git] / test / stderr / 0403
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 -N -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 domains
86 search_open: lsearch "TESTSUITE/aux-fixed/0403.data"
87 search_find: file="TESTSUITE/aux-fixed/0403.data"
88   key="test.ex" partial=-1 affix=NULL starflags=0 opts=NULL
89 LRU list:
90   0TESTSUITE/aux-fixed/0403.data
91   End
92 internal_search_find: file="TESTSUITE/aux-fixed/0403.data"
93   type=lsearch key="test.ex" opts=NULL
94 file lookup required for test.ex
95   in TESTSUITE/aux-fixed/0403.data
96 lookup yielded: [DOMAINDATA_test.ex]
97 test.ex in "lsearch;TESTSUITE/aux-fixed/0403.data"? yes (matched "lsearch;TESTSUITE/aux-fixed/0403.data")
98 checking local_parts
99 search_open: lsearch "TESTSUITE/aux-fixed/0403.data"
100   cached open
101 search_find: file="TESTSUITE/aux-fixed/0403.data"
102   key="userx" partial=-1 affix=NULL starflags=0 opts=NULL
103 LRU list:
104   0TESTSUITE/aux-fixed/0403.data
105   End
106 internal_search_find: file="TESTSUITE/aux-fixed/0403.data"
107   type=lsearch key="userx" opts=NULL
108 file lookup required for userx
109   in TESTSUITE/aux-fixed/0403.data
110 lookup yielded: [LOCALPARTDATA_userx]
111 userx in "lsearch;TESTSUITE/aux-fixed/0403.data"? yes (matched "lsearch;TESTSUITE/aux-fixed/0403.data")
112 +++ROUTER:
113 +++domain_data=[DOMAINDATA_test.ex]
114 +++local_part_data=[LOCALPARTDATA_userx]
115 +++address_data=
116 +++home=/usr
117 processing address_data
118 calling r1 router
119 rda_interpret (string): 'TESTSUITE/test-mail/junk'
120 expanded: 'TESTSUITE/test-mail/junk'
121 file is not a filter file
122 parse_forward_list: TESTSUITE/test-mail/junk
123 extract item: TESTSUITE/test-mail/junk
124 set transport t1
125 r1 router generated TESTSUITE/test-mail/junk
126   pipe, file, or autoreply
127   errors_to=NULL transport=t1
128   uid=unset gid=unset home=/usr
129 routed by r1 router
130   envelope to: userx@test.ex
131   transport: <none>
132  locking TESTSUITE/spool/db/retry.lockfile
133  locked  TESTSUITE/spool/db/retry.lockfile
134  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
135  returned from EXIM_DBOPEN: (nil)
136  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
137 no retry data available
138 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
139 Considering: TESTSUITE/test-mail/junk
140 unique = TESTSUITE/test-mail/junk:userx@test.ex
141 queued for t1 transport
142 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
143 After routing:
144   Local deliveries:
145     TESTSUITE/test-mail/junk
146   Remote deliveries:
147   Failed addresses:
148   Deferred addresses:
149 search_tidyup called
150 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
151 --------> TESTSUITE/test-mail/junk <--------
152  locking TESTSUITE/spool/db/retry.lockfile
153  locked  TESTSUITE/spool/db/retry.lockfile
154  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
155  returned from EXIM_DBOPEN: (nil)
156  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
157 no retry data available
158 search_tidyup called
159 changed uid/gid: local delivery to TESTSUITE/test-mail/junk <TESTSUITE/test-mail/junk> transport=t1
160   uid=CALLER_UID gid=CALLER_GID pid=pppp
161   home=/usr current=/usr
162 set_process_info: pppp delivering 10HmaX-0005vi-00 to TESTSUITE/test-mail/junk using t1
163 +++TRANSPORT:
164 +++domain_data=[DOMAINDATA_test.ex]
165 +++local_part_data=[LOCALPARTDATA_userx]
166 +++address_data=ADDRESSDATA
167 +++home=/usr
168 appendfile transport entered
169 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
170   file=TESTSUITE/test-mail/junk format=unix
171   message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
172   message_suffix=\n
173   maildir_use_size_file=no
174   locking by lockfile fcntl 
175 *** delivery by t1 transport bypassed by -N option
176 search_tidyup called
177 journalling TESTSUITE/test-mail/junk:userx@test.ex
178 t1 transport returned OK for TESTSUITE/test-mail/junk
179 post-process TESTSUITE/test-mail/junk (0)
180 TESTSUITE/test-mail/junk delivered
181 userx@test.ex: children all complete
182 LOG: MAIN
183   *> TESTSUITE/test-mail/junk <userx@test.ex> R=r1 T=t1
184 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
185 changed uid/gid: post-delivery tidying
186   uid=EXIM_UID gid=EXIM_GID pid=pppp
187 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
188 DSN: processing router : r1
189 DSN: processing successful delivery address: TESTSUITE/test-mail/junk
190 DSN: Sender_address: CALLER@test.ex
191 DSN: orcpt: NULL  flags: 0x0
192 DSN: envid: NULL  ret: 0
193 DSN: Final recipient: TESTSUITE/test-mail/junk
194 DSN: Remote SMTP server supports DSN: 0
195 DSN: not sending DSN success message
196 DSN: processing router : r1
197 DSN: processing successful delivery address: userx@test.ex
198 DSN: Sender_address: CALLER@test.ex
199 DSN: orcpt: NULL  flags: 0x0
200 DSN: envid: NULL  ret: 0
201 DSN: Final recipient: userx@test.ex
202 DSN: Remote SMTP server supports DSN: 0
203 DSN: not sending DSN success message
204 LOG: MAIN
205   Completed
206 end delivery of 10HmaX-0005vi-00
207 search_tidyup called
208 search_tidyup called
209 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
210 search_tidyup called
211 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>