Rewrites: avoid a split log line when rewiting hits a malformed address. Bug 3160
[exim.git] / test / stderr / 0278
1 Exim version x.yz ....
2 changed uid/gid: forcing real = effective
3   uid=uuuu gid=CALLER_GID pid=p1234
4 configuration file is TESTSUITE/test-config
5 admin user
6 dropping to exim gid; retaining priv uid
7 seeking password data for user "CALLER": cache not available
8 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
9 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
10 sender address = CALLER@test.ex
11 Address testing: uid=uuuu gid=EXIM_GID euid=uuuu egid=EXIM_GID
12 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
13 Testing CALLER@test.ex
14 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
15 Considering CALLER@test.ex
16 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
17 routing CALLER@test.ex
18 --------> r1 router <--------
19 local_part=CALLER domain=test.ex
20 checking local_parts
21 CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"?
22  list element: +never_localparts
23   start sublist never_localparts
24    CALLER in "never"?
25    ╎list element: never
26    CALLER in "never"? no (end of list)
27   end sublist never_localparts
28  list element: +n1_localparts
29   start sublist n1_localparts
30    CALLER in "never1"?
31    ╎list element: never1
32    CALLER in "never1"? no (end of list)
33   end sublist n1_localparts
34  list element: ! +local_localparts
35   start sublist local_localparts
36    CALLER in "CALLER"?
37    ╎list element: CALLER
38    ╎CALLER in "CALLER"? yes (matched "CALLER")
39   end sublist local_localparts
40  data from lookup saved for cache for +local_localparts: key 'CALLER' value 'CALLER'
41  CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? no (matched "! +local_localparts")
42 r1 router skipped: local_parts mismatch
43 --------> r2 router <--------
44 local_part=CALLER domain=test.ex
45 checking local_parts
46 CALLER in "+never_localparts : +n2_localparts : !+local_localparts"?
47  list element: +never_localparts
48   start sublist never_localparts
49  cached no match for +never_localparts
50  cached lookup data = NULL
51  list element: +n2_localparts
52   start sublist n2_localparts
53    CALLER in "<; never2 ; +n1_localparts"?
54    ╎list element: never2
55    ╎list element: +n1_localparts
56    ╎ start sublist n1_localparts
57    ╎cached no match for +n1_localparts
58    ╎cached lookup data = NULL
59    CALLER in "<; never2 ; +n1_localparts"? no (end of list)
60   end sublist n2_localparts
61  list element: !+local_localparts
62   start sublist local_localparts
63  cached yes match for +local_localparts
64  cached lookup data = CALLER
65  CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? no (matched "!+local_localparts" - cached)
66 r2 router skipped: local_parts mismatch
67 --------> r3 router <--------
68 local_part=CALLER domain=test.ex
69 checking local_parts
70 CALLER in "+local_localparts"?
71  list element: +local_localparts
72   start sublist local_localparts
73  cached yes match for +local_localparts
74  cached lookup data = CALLER
75  CALLER in "+local_localparts"? yes (matched "+local_localparts" - cached)
76 checking for local user
77 seeking password data for user "CALLER": using cached result
78 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
79 calling r3 router
80 r3 router called for CALLER@test.ex
81   domain = test.ex
82 set transport t1
83 queued for t1 transport: local_part = CALLER
84 domain = test.ex
85   errors_to=NULL
86   domain_data=NULL local_part_data=CALLER
87 routed by r3 router
88   envelope to: CALLER@test.ex
89   transport: t1
90 search_tidyup called
91 >>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
92 Exim version x.yz ....
93 changed uid/gid: forcing real = effective
94   uid=uuuu gid=CALLER_GID pid=p1235
95 configuration file is TESTSUITE/test-config
96 admin user
97 changed uid/gid: privilege not needed
98   uid=EXIM_UID gid=EXIM_GID pid=p1235
99 seeking password data for user "CALLER": cache not available
100 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
101 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
102 sender address = CALLER@test.ex
103 set_process_info: pppp accepting a local non-SMTP message from <CALLER@test.ex>
104 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
105 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
106 Sender: CALLER@test.ex
107 Recipients:
108   CALLER@test.ex
109 search_tidyup called
110 >>Headers received:
111
112 qualify & rewrite recipients list
113 rewrite rules on sender address
114 qualify and rewrite headers
115  rewrite_one_header: type=F:
116    From: CALLER_NAME <CALLER@test.ex>
117 search_tidyup called
118 >>Headers after rewriting and local additions:
119  I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
120  F From: CALLER_NAME <CALLER@test.ex>
121    Date: Tue, 2 Mar 1999 09:44:33 +0000
122
123 Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
124 Data file written for message 10HmaX-000000005vi-0000
125 >>Generated Received: header line
126 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
127         (envelope-from <CALLER@test.ex>)
128         id 10HmaX-000000005vi-0000
129         for CALLER@test.ex;
130         Tue, 2 Mar 1999 09:44:33 +0000
131 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-000000005vi-0000
132 DSN: **** SPOOL_OUT - address: <CALLER@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
133 Renaming spool header file: TESTSUITE/spool//input//10HmaX-000000005vi-0000-H
134 Size of headers = sss
135 LOG: MAIN
136   <= CALLER@test.ex U=CALLER P=local S=sss
137 created log directory TESTSUITE/spool/log
138 search_tidyup called
139 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-000000005vi-0000
140 Exim version x.yz ....
141 changed uid/gid: forcing real = effective
142   uid=uuuu gid=EXIM_GID pid=p1236
143 configuration file is TESTSUITE/test-config
144 trusted user
145 admin user
146 dropping to exim gid; retaining priv uid
147 seeking password data for user "CALLER": cache not available
148 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
149 set_process_info: pppp delivering specified messages
150 set_process_info: pppp delivering 10HmaX-000000005vi-0000
151 Trying spool file TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
152 reading spool file 10HmaX-000000005vi-0000-H
153 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@test.ex
154 sender_local=1 ident=CALLER
155 Non-recipients:
156  Empty Tree
157 ---- End of tree ----
158 recipients_count=1
159 **** SPOOL_IN - No additional fields
160 body_linecount=0 message_linecount=8
161 DSN: set orcpt:   flags: 0x0
162 Delivery address list:
163   CALLER@test.ex 
164  locking TESTSUITE/spool/db/retry.lockfile
165  locked  TESTSUITE/spool/db/retry.lockfile
166  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
167  returned from EXIM_DBOPEN: (nil)
168  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
169 no retry data available
170 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
171 Considering: CALLER@test.ex
172 unique = CALLER@test.ex
173 no   domain  retry record
174 no   address retry record
175 CALLER@test.ex: queued for routing
176 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
177 routing CALLER@test.ex
178 --------> r1 router <--------
179 local_part=CALLER domain=test.ex
180 checking local_parts
181 CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"?
182  list element: +never_localparts
183   start sublist never_localparts
184    CALLER in "never"?
185    ╎list element: never
186    CALLER in "never"? no (end of list)
187   end sublist never_localparts
188  list element: +n1_localparts
189   start sublist n1_localparts
190    CALLER in "never1"?
191    ╎list element: never1
192    CALLER in "never1"? no (end of list)
193   end sublist n1_localparts
194  list element: ! +local_localparts
195   start sublist local_localparts
196    CALLER in "CALLER"?
197    ╎list element: CALLER
198    ╎CALLER in "CALLER"? yes (matched "CALLER")
199   end sublist local_localparts
200  data from lookup saved for cache for +local_localparts: key 'CALLER' value 'CALLER'
201  CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? no (matched "! +local_localparts")
202 r1 router skipped: local_parts mismatch
203 --------> r2 router <--------
204 local_part=CALLER domain=test.ex
205 checking local_parts
206 CALLER in "+never_localparts : +n2_localparts : !+local_localparts"?
207  list element: +never_localparts
208   start sublist never_localparts
209  cached no match for +never_localparts
210  cached lookup data = NULL
211  list element: +n2_localparts
212   start sublist n2_localparts
213    CALLER in "<; never2 ; +n1_localparts"?
214    ╎list element: never2
215    ╎list element: +n1_localparts
216    ╎ start sublist n1_localparts
217    ╎cached no match for +n1_localparts
218    ╎cached lookup data = NULL
219    CALLER in "<; never2 ; +n1_localparts"? no (end of list)
220   end sublist n2_localparts
221  list element: !+local_localparts
222   start sublist local_localparts
223  cached yes match for +local_localparts
224  cached lookup data = CALLER
225  CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? no (matched "!+local_localparts" - cached)
226 r2 router skipped: local_parts mismatch
227 --------> r3 router <--------
228 local_part=CALLER domain=test.ex
229 checking local_parts
230 CALLER in "+local_localparts"?
231  list element: +local_localparts
232   start sublist local_localparts
233  cached yes match for +local_localparts
234  cached lookup data = CALLER
235  CALLER in "+local_localparts"? yes (matched "+local_localparts" - cached)
236 checking for local user
237 seeking password data for user "CALLER": using cached result
238 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
239 calling r3 router
240 r3 router called for CALLER@test.ex
241   domain = test.ex
242 set transport t1
243 queued for t1 transport: local_part = CALLER
244 domain = test.ex
245   errors_to=NULL
246   domain_data=NULL local_part_data=CALLER
247 routed by r3 router
248   envelope to: CALLER@test.ex
249   transport: t1
250 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
251 After routing:
252   Local deliveries:
253     CALLER@test.ex
254   Remote deliveries:
255   Failed addresses:
256   Deferred addresses:
257 search_tidyup called
258 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
259 --------> CALLER@test.ex <--------
260  locking TESTSUITE/spool/db/retry.lockfile
261  locked  TESTSUITE/spool/db/retry.lockfile
262  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
263  returned from EXIM_DBOPEN: (nil)
264  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
265 no retry data available
266 search_tidyup called
267 changed uid/gid: local delivery to CALLER <CALLER@test.ex> transport=t1
268   uid=CALLER_UID gid=CALLER_GID pid=p1237
269   home=CALLER_HOME current=CALLER_HOME
270 set_process_info: pppp delivering 10HmaX-000000005vi-0000 to CALLER using t1
271 appendfile transport entered
272 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
273   file=/dev/null format=unix
274   message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
275   message_suffix=\n
276   maildir_use_size_file=no
277   locking by lockfile fcntl 
278 search_tidyup called
279 journalling CALLER@test.ex
280 t1 transport returned OK for CALLER@test.ex
281 post-process CALLER@test.ex (0)
282 CALLER@test.ex delivered
283 LOG: MAIN
284   => CALLER <CALLER@test.ex> R=r3 T=t1
285 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
286 changed uid/gid: post-delivery tidying
287   uid=EXIM_UID gid=EXIM_GID pid=p1236
288 set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
289 Processing retry items
290 Succeeded addresses:
291  CALLER@test.ex: no retry items
292 Failed addresses:
293 Deferred addresses:
294 end of retry processing
295 DSN: processing router : r3
296 DSN: processing successful delivery address: CALLER@test.ex
297 DSN: Sender_address: CALLER@test.ex
298 DSN: orcpt: NULL  flags: 0x0
299 DSN: envid: NULL  ret: 0
300 DSN: Final recipient: CALLER@test.ex
301 DSN: Remote SMTP server supports DSN: 0
302 DSN: not sending DSN success message
303 LOG: MAIN
304   Completed
305 end delivery of 10HmaX-000000005vi-0000
306 search_tidyup called
307 search_tidyup called
308 >>>>>>>>>>>>>>>> Exim pid=p1236 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
309 search_tidyup called
310 >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
311 Exim version x.yz ....
312 changed uid/gid: forcing real = effective
313   uid=uuuu gid=CALLER_GID pid=p1238
314 configuration file is TESTSUITE/test-config
315 admin user
316 dropping to exim gid; retaining priv uid
317 seeking password data for user "CALLER": cache not available
318 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
319 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
320 sender address = CALLER@test.ex
321 Address testing: uid=uuuu gid=EXIM_GID euid=uuuu egid=EXIM_GID
322 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
323 Testing unknown@test.ex
324 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
325 Considering unknown@test.ex
326 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
327 routing unknown@test.ex
328 --------> r1 router <--------
329 local_part=unknown domain=test.ex
330 checking local_parts
331 unknown in "+never_localparts : +n1_localparts : ! +local_localparts"?
332  list element: +never_localparts
333   start sublist never_localparts
334    unknown in "never"?
335    ╎list element: never
336    unknown in "never"? no (end of list)
337   end sublist never_localparts
338  list element: +n1_localparts
339   start sublist n1_localparts
340    unknown in "never1"?
341    ╎list element: never1
342    unknown in "never1"? no (end of list)
343   end sublist n1_localparts
344  list element: ! +local_localparts
345   start sublist local_localparts
346    unknown in "CALLER"?
347    ╎list element: CALLER
348    unknown in "CALLER"? no (end of list)
349   end sublist local_localparts
350 unknown in "+never_localparts : +n1_localparts : ! +local_localparts"? yes (end of list)
351 calling r1 router
352 r1 router called for unknown@test.ex
353   domain = test.ex
354 route_item = never
355 test.ex in "never"?
356  list element: never
357 test.ex in "never"? no (end of list)
358 r1 router declined for unknown@test.ex
359 --------> r2 router <--------
360 local_part=unknown domain=test.ex
361 checking local_parts
362 unknown in "+never_localparts : +n2_localparts : !+local_localparts"?
363  list element: +never_localparts
364   start sublist never_localparts
365  cached no match for +never_localparts
366  cached lookup data = NULL
367  list element: +n2_localparts
368   start sublist n2_localparts
369    unknown in "<; never2 ; +n1_localparts"?
370    ╎list element: never2
371    ╎list element: +n1_localparts
372    ╎ start sublist n1_localparts
373    ╎cached no match for +n1_localparts
374    ╎cached lookup data = NULL
375    unknown in "<; never2 ; +n1_localparts"? no (end of list)
376   end sublist n2_localparts
377  list element: !+local_localparts
378   start sublist local_localparts
379  cached no match for +local_localparts
380  cached lookup data = NULL
381 unknown in "+never_localparts : +n2_localparts : !+local_localparts"? yes (end of list)
382 calling r2 router
383 r2 router called for unknown@test.ex
384   domain = test.ex
385 test.ex in "*"?
386  list element: *
387  test.ex in "*"? yes (matched "*")
388 DNS lookup of test.ex (MX) using fakens
389 DNS lookup of test.ex (MX) gave NO_DATA
390 returning DNS_NODATA
391 faking res_search(MX) response length as 65535
392  writing neg-cache entry for test.ex-MX-xxxx, ttl 3000
393 test.ex (MX resp) DNSSEC
394 DNS lookup of test.ex (A) using fakens
395 DNS lookup of test.ex (A) gave NO_DATA
396 returning DNS_NODATA
397 faking res_search(A) response length as 65535
398  writing neg-cache entry for test.ex-A-xxxx, ttl 3000
399 r2 router declined for unknown@test.ex
400 --------> r3 router <--------
401 local_part=unknown domain=test.ex
402 checking local_parts
403 unknown in "+local_localparts"?
404  list element: +local_localparts
405   start sublist local_localparts
406  cached no match for +local_localparts
407  cached lookup data = NULL
408 unknown in "+local_localparts"? no (end of list)
409 r3 router skipped: local_parts mismatch
410 --------> r4 router <--------
411 local_part=unknown domain=test.ex
412 checking local_parts
413 unknown in "+local_localparts : +expanded : +unexpanded"?
414  list element: +local_localparts
415   start sublist local_localparts
416  cached no match for +local_localparts
417  cached lookup data = NULL
418  list element: +expanded
419   start sublist expanded
420    unknown in "test.ex"?
421    ╎list element: test.ex
422    unknown in "test.ex"? no (end of list)
423   end sublist expanded
424  list element: +unexpanded
425   start sublist unexpanded
426    unknown in "unexpanded"?
427    ╎list element: unexpanded
428    unknown in "unexpanded"? no (end of list)
429   end sublist unexpanded
430 unknown in "+local_localparts : +expanded : +unexpanded"? no (end of list)
431 r4 router skipped: local_parts mismatch
432 --------> r5 router <--------
433 local_part=unknown domain=test.ex
434 checking local_parts
435 unknown in "+local_localparts : +expanded : +unexpanded"?
436  list element: +local_localparts
437   start sublist local_localparts
438  cached no match for +local_localparts
439  cached lookup data = NULL
440  list element: +expanded
441   start sublist expanded
442    unknown in "test.ex"?
443    ╎list element: test.ex
444    unknown in "test.ex"? no (end of list)
445   end sublist expanded
446  list element: +unexpanded
447   start sublist unexpanded
448  cached no match for +unexpanded
449  cached lookup data = NULL
450 unknown in "+local_localparts : +expanded : +unexpanded"? no (end of list)
451 r5 router skipped: local_parts mismatch
452 no more routers
453 search_tidyup called
454 >>>>>>>>>>>>>>>> Exim pid=p1238 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>