Better handling of printing NULL pointers
[exim.git] / test / stderr / 0388
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 DSN: r0 propagating DSN
7 DSN: r1 propagating DSN
8 set_process_info: pppp delivering specified messages
9 set_process_info: pppp delivering 10HmaX-0005vi-00
10 locking TESTSUITE/spool/db/retry.lockfile
11 locked  TESTSUITE/spool/db/retry.lockfile
12 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags 0x0
13 returned from EXIM_DBOPEN: (nil)
14 ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
15 failed to open DB file TESTSUITE/spool/db/retry.lockfile: No such file or directory
16 no retry data available
17 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
18 Considering: x@y
19 unique = x@y
20 no domain retry record
21 no address retry record
22 x@y: queued for routing
23 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
24 routing x@y
25 --------> r0 router <--------
26 local_part=x domain=y
27 checking local_parts
28 x in "CALLER"? no (end of list)
29 r0 router skipped: local_parts mismatch
30 --------> r1 router <--------
31 local_part=x domain=y
32 calling r1 router
33 r1 router called for x@y
34   domain = y
35 route_item = * "127.0.0.1 : V4NET.0.0.0"
36 y in "*"? yes (matched "*")
37 original list of hosts = "127.0.0.1 : V4NET.0.0.0" options = 
38 expanded list of hosts = "127.0.0.1 : V4NET.0.0.0" options = 
39 set transport smtp
40 finding IP address for 127.0.0.1
41 calling host_find_byname
42 using host_fake_gethostbyname for 127.0.0.1 (IPv4)
43 local host found for non-MX address
44 fully qualified name = 127.0.0.1
45 MUNGED: ::1 will be omitted in what follows
46 get[host|ipnode]byname[2] looked up these IP addresses:
47   name=127.0.0.1 address=127.0.0.1
48 remote host address is the local host: y: configured to try delivery anyway
49 finding IP address for V4NET.0.0.0
50 calling host_find_byname
51 using host_fake_gethostbyname for V4NET.0.0.0 (IPv4)
52 fully qualified name = V4NET.0.0.0
53 MUNGED: ::1 will be omitted in what follows
54 get[host|ipnode]byname[2] looked up these IP addresses:
55   name=V4NET.0.0.0 address=V4NET.0.0.0
56 queued for smtp transport: local_part = x
57 domain = y
58   errors_to=NULL
59   domain_data=NULL localpart_data=NULL
60 routed by r1 router
61   envelope to: x@y
62   transport: smtp
63   host 127.0.0.1 [127.0.0.1]
64   host V4NET.0.0.0 [V4NET.0.0.0]
65 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
66 After routing:
67   Local deliveries:
68   Remote deliveries:
69     x@y
70   Failed addresses:
71   Deferred addresses:
72 search_tidyup called
73 search_tidyup called
74 changed uid/gid: remote delivery to x@y with transport=smtp
75   uid=EXIM_UID gid=EXIM_GID pid=pppp
76 set_process_info: pppp delivering 10HmaX-0005vi-00 using smtp
77 checking status of 127.0.0.1
78 locking TESTSUITE/spool/db/retry.lockfile
79 locked  TESTSUITE/spool/db/retry.lockfile
80 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags 0x0
81 returned from EXIM_DBOPEN: (nil)
82 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
83 no retry data available
84 127.0.0.1 in serialize_hosts? no (option unset)
85 set_process_info: pppp delivering 10HmaX-0005vi-00 to 127.0.0.1 [127.0.0.1] (x@y)
86 Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
87   SMTP<< 220 Server ready
88 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
89   SMTP>> EHLO myhost.test.ex
90 cmd buf flush ddd bytes
91   SMTP<< 250 OK
92 127.0.0.1 in hosts_require_auth? no (option unset)
93   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
94 cmd buf flush ddd bytes
95   SMTP<< 250 OK
96   SMTP>> RCPT TO:<x@y>
97 cmd buf flush ddd bytes
98   SMTP<< 451 Temporary error
99 LOG: MAIN
100   H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
101 added retry item for R:x@y: errno=-44 more_errno=dd,A flags=0
102   SMTP>> QUIT
103 cmd buf flush ddd bytes
104   SMTP(close)>>
105 set_process_info: pppp delivering 10HmaX-0005vi-00: just tried 127.0.0.1 [127.0.0.1] for x@y: result OK
106 address match test: subject=*@127.0.0.1 pattern=*
107 127.0.0.1 in "*"? yes (matched "*")
108 *@127.0.0.1 in "*"? yes (matched "*")
109 checking status of V4NET.0.0.0
110 locking TESTSUITE/spool/db/retry.lockfile
111 locked  TESTSUITE/spool/db/retry.lockfile
112 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags 0x0
113 returned from EXIM_DBOPEN: (nil)
114 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
115 no retry data available
116 V4NET.0.0.0 in serialize_hosts? no (option unset)
117 set_process_info: pppp delivering 10HmaX-0005vi-00 to V4NET.0.0.0 [V4NET.0.0.0] (x@y)
118 Connecting to V4NET.0.0.0 [V4NET.0.0.0]:1224 ... failed: Network Error
119 LOG: MAIN
120   H=V4NET.0.0.0 [V4NET.0.0.0] Network Error
121 set_process_info: pppp delivering 10HmaX-0005vi-00: just tried V4NET.0.0.0 [V4NET.0.0.0] for x@y: result DEFER
122 added retry item for T:V4NET.0.0.0:V4NET.0.0.0:1224: errno=dd more_errno=dd,A flags=2
123 set_process_info: pppp delivering 10HmaX-0005vi-00 (just run smtp for x@y in subprocess)
124 search_tidyup called
125 set_process_info: pppp delivering 10HmaX-0005vi-00: waiting for a remote delivery subprocess to finish
126 set_process_info: pppp delivering 10HmaX-0005vi-00
127 reading retry information for T:V4NET.0.0.0:V4NET.0.0.0:1224 from subprocess
128   added retry item
129 reading retry information for R:x@y from subprocess
130   added retry item
131 LOG: MAIN
132   == x@y R=r1 T=smtp defer (dd): Network Error H=127.0.0.1 [127.0.0.1]
133 changed uid/gid: post-delivery tidying
134   uid=EXIM_UID gid=EXIM_GID pid=pppp
135 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
136 Processing retry items
137 Succeeded addresses:
138 Failed addresses:
139 Deferred addresses:
140  x@y
141 locking TESTSUITE/spool/db/retry.lockfile
142 locked  TESTSUITE/spool/db/retry.lockfile
143 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags 0x2
144 returned from EXIM_DBOPEN: 0xAAAAAAAA
145 opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
146 address match test: subject=x@y pattern=*
147 y in "*"? yes (matched "*")
148 x@y in "*"? yes (matched "*")
149 retry for R:x@y = * 0 0
150 dbfn_read: key=R:x@y
151 failing_interval=ttt message_age=ttt
152 Writing retry data for R:x@y
153   first failed=dddd last try=dddd next try=+1 expired=1
154   errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
155 dbfn_write: key=R:x@y
156 address match test: subject=*@V4NET.0.0.0 pattern=*
157 V4NET.0.0.0 in "*"? yes (matched "*")
158 *@V4NET.0.0.0 in "*"? yes (matched "*")
159 retry for T:V4NET.0.0.0:V4NET.0.0.0:1224 (y) = * 0 0
160 dbfn_read: key=T:V4NET.0.0.0:V4NET.0.0.0:1224
161 failing_interval=ttt message_age=ttt
162 on queue longer than maximum retry
163 Writing retry data for T:V4NET.0.0.0:V4NET.0.0.0:1224
164   first failed=dddd last try=dddd next try=+0 expired=0
165   errno=dd more_errno=dd,A Network Error
166 dbfn_write: key=T:V4NET.0.0.0:V4NET.0.0.0:1224
167 timed out: all retries expired
168 LOG: MAIN
169   ** x@y: retry timeout exceeded
170 EXIM_DBCLOSE(0xAAAAAAAA)
171 closed hints database and lockfile
172 end of retry processing
173 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xebb95ced -odi -odi -t -oem -oi -f <> -E10HmaX-0005vi-00
174 Exim version x.yz ....
175 changed uid/gid: forcing real = effective
176   uid=uuuu gid=EXIM_GID pid=pppp
177 configuration file is TESTSUITE/test-config
178 trusted user
179 admin user
180 changed uid/gid: privilege not needed
181   uid=EXIM_UID gid=EXIM_GID pid=pppp
182 DSN: r0 propagating DSN
183 DSN: r1 propagating DSN
184 originator: uid=EXIM_UID gid=EXIM_GID login=EXIMUSER name=
185 sender address = 
186 set_process_info: pppp accepting a local non-SMTP message from <>
187 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
188 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
189 Sender: 
190 search_tidyup called
191 >>Headers received:
192 X-Failed-Recipients: x@y
193 Auto-Submitted: auto-replied
194 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
195 To: CALLER@myhost.test.ex
196 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
197 MIME-Version: 1.0
198 Subject: Mail delivery failed: returning message to sender
199
200 rewrite_one_header: type=F:
201   From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
202 rewrite_one_header: type=T:
203   To: CALLER@myhost.test.ex
204 search_tidyup called
205 >>Headers after rewriting and local additions:
206   X-Failed-Recipients: x@y
207   Auto-Submitted: auto-replied
208 F From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
209 T To: CALLER@myhost.test.ex
210   Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
211   MIME-Version: 1.0
212   Subject: Mail delivery failed: returning message to sender
213 I Message-Id: <E10HmaY-0005vi-00@myhost.test.ex>
214   Date: Tue, 2 Mar 1999 09:44:33 +0000
215
216 Data file name: TESTSUITE/spool//input//10HmaY-0005vi-00-D
217 Data file written for message 10HmaY-0005vi-00
218 >>Generated Received: header line
219 P Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
220         id 10HmaY-0005vi-00
221         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
222 calling local_scan(); timeout=300
223 local_scan() returned 0 NULL
224 Writing spool header file: TESTSUITE/spool//input//hdr.pppp
225 Renaming spool header file: TESTSUITE/spool//input//10HmaY-0005vi-00-H
226 Size of headers = sss
227 LOG: MAIN
228   <= <> R=10HmaX-0005vi-00 U=EXIMUSER P=local S=sss
229 search_tidyup called
230 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xebb95ced -odi -Mc 10HmaY-0005vi-00
231 Exim version x.yz ....
232 changed uid/gid: forcing real = effective
233   uid=uuuu gid=EXIM_GID pid=pppp
234 configuration file is TESTSUITE/test-config
235 trusted user
236 admin user
237 DSN: r0 propagating DSN
238 DSN: r1 propagating DSN
239 set_process_info: pppp delivering specified messages
240 set_process_info: pppp delivering 10HmaY-0005vi-00
241 locking TESTSUITE/spool/db/retry.lockfile
242 locked  TESTSUITE/spool/db/retry.lockfile
243 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags 0x0
244 returned from EXIM_DBOPEN: 0xAAAAAAAA
245 opened hints database TESTSUITE/spool/db/retry: flags=O_RDONLY
246 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
247 Considering: CALLER@myhost.test.ex
248 unique = CALLER@myhost.test.ex
249 dbfn_read: key=R:myhost.test.ex
250 dbfn_read: key=R:CALLER@myhost.test.ex
251 dbfn_read: key=R:CALLER@myhost.test.ex:<>
252 no domain retry record
253 no address retry record
254 CALLER@myhost.test.ex: queued for routing
255 EXIM_DBCLOSE(0xAAAAAAAA)
256 closed hints database and lockfile
257 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
258 routing CALLER@myhost.test.ex
259 --------> r0 router <--------
260 local_part=CALLER domain=myhost.test.ex
261 checking local_parts
262 CALLER in "CALLER"? yes (matched "CALLER")
263 checking senders
264 address match test: subject= pattern=
265  in ":"? yes (matched "")
266 calling r0 router
267 rda_interpret (string): :blackhole:
268 expanded: :blackhole:
269 file is not a filter file
270 parse_forward_list: :blackhole:
271 extract item: :blackhole:
272 address :blackhole:d
273 LOG: MAIN
274   => :blackhole: <CALLER@myhost.test.ex> R=r0
275 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
276 After routing:
277   Local deliveries:
278   Remote deliveries:
279   Failed addresses:
280   Deferred addresses:
281 search_tidyup called
282 changed uid/gid: post-delivery tidying
283   uid=EXIM_UID gid=EXIM_GID pid=pppp
284 set_process_info: pppp tidying up after delivering 10HmaY-0005vi-00
285 Processing retry items
286 Succeeded addresses:
287  CALLER@myhost.test.ex: no retry items
288 Failed addresses:
289 Deferred addresses:
290 end of retry processing
291 LOG: MAIN
292   Completed
293 search_tidyup called
294 search_tidyup called
295 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
296 search_tidyup called
297 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
298 Writing spool header file: TESTSUITE/spool//input//hdr.pppp
299 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
300 Size of headers = sss
301 LOG: MAIN
302   Completed
303 search_tidyup called
304 search_tidyup called
305 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>