Debug: list searching
[exim.git] / test / stderr / 0085
1 Exim version x.yz ....
2 changed uid/gid: forcing real = effective
3   uid=uuuu gid=CALLER_GID pid=p1234
4 list element: PATH
5 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
6 list element: PATH
7 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
8 list element: PATH
9 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
10 list element: PATH
11 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
12 list element: PATH
13 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
14 list element: PATH
15 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
16 list element: PATH
17 list element: PATH
18 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
19 list element: PATH
20 configuration file is TESTSUITE/test-config
21 admin user
22 changed uid/gid: privilege not needed
23   uid=EXIM_UID gid=EXIM_GID pid=p1234
24 seeking password data for user "CALLER": cache not available
25 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
26 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
27 sender address = abc@d.e.f
28 Verifying: uid=EXIM_UID gid=EXIM_GID euid=EXIM_UID egid=EXIM_GID
29 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
30 Verifying x@y.z
31 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
32 Considering x@y.z
33 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
34 routing x@y.z
35 --------> smart1 router <--------
36 local_part=x domain=y.z
37 checking domains
38 list element: smart.domain
39 y.z in "smart.domain"? no (end of list)
40 smart1 router skipped: domains mismatch
41 --------> fail_remote_domains router <--------
42 local_part=x domain=y.z
43 checking domains
44 list element: ! +local_domains
45  start sublist local_domains
46   list element: test.ex
47   list element: myhost.test.ex
48   y.z in "test.ex : myhost.test.ex"? no (end of list)
49  end sublist local_domains
50 y.z in "! +local_domains"? yes (end of list)
51 calling fail_remote_domains router
52 rda_interpret (string): ':fail: unrouteable mail domain "$domain"'
53 expanded: ':fail: unrouteable mail domain "y.z"' (tainted)
54 file is not a filter file
55 parse_forward_list: :fail: unrouteable mail domain "y.z"
56 extract item: :fail: unrouteable mail domain "y.z"
57 fail_remote_domains router forced address failure
58 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
59 Verifying x@smart.domain
60 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
61 Considering x@smart.domain
62 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
63 routing x@smart.domain
64 --------> smart1 router <--------
65 local_part=x domain=smart.domain
66 checking domains
67 list element: smart.domain
68 smart.domain in "smart.domain"? yes (matched "smart.domain")
69 checking local_parts
70  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
71  search_find: file="TESTSUITE/aux-fixed/0085.data"
72    key="smart.domain" partial=-1 affix=NULL starflags=0 opts=NULL
73  LRU list:
74    0TESTSUITE/aux-fixed/0085.data
75    End
76  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
77    type=lsearch key="smart.domain" opts=NULL
78  file lookup required for smart.domain
79    in TESTSUITE/aux-fixed/0085.data
80  creating new cache entry
81  lookup yielded: x : y : abc@d.e.f
82 list element: x
83 x in "x : y : abc@d.e.f"? yes (matched "x")
84 checking senders
85  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
86    cached open
87  search_find: file="TESTSUITE/aux-fixed/0085.data"
88    key="smart.domain" partial=-1 affix=NULL starflags=0 opts=NULL
89  LRU list:
90    0TESTSUITE/aux-fixed/0085.data
91    End
92  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
93    type=lsearch key="smart.domain" opts=NULL
94  cached data used for lookup of smart.domain
95    in TESTSUITE/aux-fixed/0085.data
96  lookup yielded: x : y : abc@d.e.f
97 list element: x
98 address match test: subject=abc@d.e.f pattern=x
99 list element: x
100 d.e.f in "x"? no (end of list)
101 list element: y
102 address match test: subject=abc@d.e.f pattern=y
103 list element: y
104 d.e.f in "y"? no (end of list)
105 list element: abc@d.e.f
106 address match test: subject=abc@d.e.f pattern=abc@d.e.f
107 list element: d.e.f
108 d.e.f in "d.e.f"? yes (matched "d.e.f")
109 abc@d.e.f in "x : y : abc@d.e.f"? yes (matched "abc@d.e.f")
110 calling smart1 router
111 smart1 router called for x@smart.domain
112   domain = smart.domain
113 route_item = *
114 list element: *
115 smart.domain in "*"? yes (matched "*")
116 original list of hosts = '' options = ''
117 expanded list of hosts = '' options = ''
118 queued for <unset> transport: local_part = x
119 domain = smart.domain
120   errors_to=NULL
121   domain_data=smart.domain local_part_data=x
122 routed by smart1 router
123   envelope to: x@smart.domain
124   transport: <none>
125 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
126 Verifying x@test.ex
127 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
128 Considering x@test.ex
129 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
130 routing x@test.ex
131 --------> smart1 router <--------
132 local_part=x domain=test.ex
133 checking domains
134 list element: smart.domain
135 test.ex in "smart.domain"? no (end of list)
136 smart1 router skipped: domains mismatch
137 --------> fail_remote_domains router <--------
138 local_part=x domain=test.ex
139 checking domains
140 list element: ! +local_domains
141  start sublist local_domains
142   list element: test.ex
143   test.ex in "test.ex : myhost.test.ex"? yes (matched "test.ex")
144  end sublist local_domains
145 data from lookup saved for cache for +local_domains: key 'test.ex' value 'test.ex'
146 test.ex in "! +local_domains"? no (matched "! +local_domains")
147 fail_remote_domains router skipped: domains mismatch
148 --------> smart2 router <--------
149 local_part=x domain=test.ex
150 checking domains
151 list element: test.ex
152 test.ex in "test.ex"? yes (matched "test.ex")
153 checking local_parts
154  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
155    cached open
156  search_find: file="TESTSUITE/aux-fixed/0085.data"
157    key="test.ex" partial=-1 affix=NULL starflags=0 opts=NULL
158  LRU list:
159    0TESTSUITE/aux-fixed/0085.data
160    End
161  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
162    type=lsearch key="test.ex" opts=NULL
163  file lookup required for test.ex
164    in TESTSUITE/aux-fixed/0085.data
165  creating new cache entry
166  lookup yielded: x : y : abc@d.e.f
167 list element: x
168 x in "x : y : abc@d.e.f"? yes (matched "x")
169 checking senders
170  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
171    cached open
172  search_find: file="TESTSUITE/aux-fixed/0085.data"
173    key="test.ex" partial=-1 affix=NULL starflags=0 opts=NULL
174  LRU list:
175    0TESTSUITE/aux-fixed/0085.data
176    End
177  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
178    type=lsearch key="test.ex" opts=NULL
179  cached data used for lookup of test.ex
180    in TESTSUITE/aux-fixed/0085.data
181  lookup yielded: x : y : abc@d.e.f
182 list element: x
183 address match test: subject=abc@d.e.f pattern=x
184 list element: x
185 d.e.f in "x"? no (end of list)
186 list element: y
187 address match test: subject=abc@d.e.f pattern=y
188 list element: y
189 d.e.f in "y"? no (end of list)
190 list element: abc@d.e.f
191 address match test: subject=abc@d.e.f pattern=abc@d.e.f
192 list element: d.e.f
193 d.e.f in "d.e.f"? yes (matched "d.e.f")
194 abc@d.e.f in "x : y : abc@d.e.f"? yes (matched "abc@d.e.f")
195 checking require_files
196  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
197    cached open
198  search_find: file="TESTSUITE/aux-fixed/0085.data"
199    key="test.ex.files" partial=-1 affix=NULL starflags=0 opts=NULL
200  LRU list:
201    0TESTSUITE/aux-fixed/0085.data
202    End
203  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
204    type=lsearch key="test.ex.files" opts=NULL
205  file lookup required for test.ex.files
206    in TESTSUITE/aux-fixed/0085.data
207  creating new cache entry
208  lookup yielded: /etc/passwd
209 file check: ${lookup{$domain.files}lsearch{TESTSUITE/aux-fixed/0085.data}{$value}}
210 expanded file: /etc/passwd
211 stat() yielded 0
212 calling smart2 router
213 smart2 router called for x@test.ex
214   domain = test.ex
215 set transport dummy
216 queued for dummy transport: local_part = x
217 domain = test.ex
218   errors_to=NULL
219   domain_data=test.ex local_part_data=x
220 routed by smart2 router
221   envelope to: x@test.ex
222   transport: dummy
223 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
224 Verifying x@myhost.test.ex
225 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
226 Considering x@myhost.test.ex
227 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
228 routing x@myhost.test.ex
229 --------> smart1 router <--------
230 local_part=x domain=myhost.test.ex
231 checking domains
232 list element: smart.domain
233 myhost.test.ex in "smart.domain"? no (end of list)
234 smart1 router skipped: domains mismatch
235 --------> fail_remote_domains router <--------
236 local_part=x domain=myhost.test.ex
237 checking domains
238 list element: ! +local_domains
239  start sublist local_domains
240   list element: test.ex
241   list element: myhost.test.ex
242   myhost.test.ex in "test.ex : myhost.test.ex"? yes (matched "myhost.test.ex")
243  end sublist local_domains
244 data from lookup saved for cache for +local_domains: key 'myhost.test.ex' value 'myhost.test.ex'
245 myhost.test.ex in "! +local_domains"? no (matched "! +local_domains")
246 fail_remote_domains router skipped: domains mismatch
247 --------> smart2 router <--------
248 local_part=x domain=myhost.test.ex
249 checking domains
250 list element: test.ex
251 myhost.test.ex in "test.ex"? no (end of list)
252 smart2 router skipped: domains mismatch
253 no more routers
254 search_tidyup called
255 >>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>
256 Exim version x.yz ....
257 changed uid/gid: forcing real = effective
258   uid=uuuu gid=CALLER_GID pid=p1235
259 list element: PATH
260 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
261 list element: PATH
262 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
263 list element: PATH
264 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
265 list element: PATH
266 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
267 list element: PATH
268 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
269 list element: PATH
270 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
271 list element: PATH
272 list element: PATH
273 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
274 list element: PATH
275 configuration file is TESTSUITE/test-config
276 admin user
277 changed uid/gid: privilege not needed
278   uid=EXIM_UID gid=EXIM_GID pid=p1235
279 seeking password data for user "CALLER": cache not available
280 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
281 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
282 sender address = CALLER@myhost.test.ex
283 Verifying: uid=EXIM_UID gid=EXIM_GID euid=EXIM_UID egid=EXIM_GID
284 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
285 Verifying x@y.z
286 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
287 Considering x@y.z
288 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
289 routing x@y.z
290 --------> smart1 router <--------
291 local_part=x domain=y.z
292 checking domains
293 list element: smart.domain
294 y.z in "smart.domain"? no (end of list)
295 smart1 router skipped: domains mismatch
296 --------> fail_remote_domains router <--------
297 local_part=x domain=y.z
298 checking domains
299 list element: ! +local_domains
300  start sublist local_domains
301   list element: test.ex
302   list element: myhost.test.ex
303   y.z in "test.ex : myhost.test.ex"? no (end of list)
304  end sublist local_domains
305 y.z in "! +local_domains"? yes (end of list)
306 calling fail_remote_domains router
307 rda_interpret (string): ':fail: unrouteable mail domain "$domain"'
308 expanded: ':fail: unrouteable mail domain "y.z"' (tainted)
309 file is not a filter file
310 parse_forward_list: :fail: unrouteable mail domain "y.z"
311 extract item: :fail: unrouteable mail domain "y.z"
312 fail_remote_domains router forced address failure
313 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
314 Verifying x@smart.domain
315 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
316 Considering x@smart.domain
317 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
318 routing x@smart.domain
319 --------> smart1 router <--------
320 local_part=x domain=smart.domain
321 checking domains
322 list element: smart.domain
323 smart.domain in "smart.domain"? yes (matched "smart.domain")
324 checking local_parts
325  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
326  search_find: file="TESTSUITE/aux-fixed/0085.data"
327    key="smart.domain" partial=-1 affix=NULL starflags=0 opts=NULL
328  LRU list:
329    0TESTSUITE/aux-fixed/0085.data
330    End
331  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
332    type=lsearch key="smart.domain" opts=NULL
333  file lookup required for smart.domain
334    in TESTSUITE/aux-fixed/0085.data
335  creating new cache entry
336  lookup yielded: x : y : abc@d.e.f
337 list element: x
338 x in "x : y : abc@d.e.f"? yes (matched "x")
339 checking senders
340  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
341    cached open
342  search_find: file="TESTSUITE/aux-fixed/0085.data"
343    key="smart.domain" partial=-1 affix=NULL starflags=0 opts=NULL
344  LRU list:
345    0TESTSUITE/aux-fixed/0085.data
346    End
347  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
348    type=lsearch key="smart.domain" opts=NULL
349  cached data used for lookup of smart.domain
350    in TESTSUITE/aux-fixed/0085.data
351  lookup yielded: x : y : abc@d.e.f
352 list element: x
353 address match test: subject=CALLER@myhost.test.ex pattern=x
354 list element: x
355 myhost.test.ex in "x"? no (end of list)
356 list element: y
357 address match test: subject=CALLER@myhost.test.ex pattern=y
358 list element: y
359 myhost.test.ex in "y"? no (end of list)
360 list element: abc@d.e.f
361 address match test: subject=CALLER@myhost.test.ex pattern=abc@d.e.f
362 CALLER@myhost.test.ex in "x : y : abc@d.e.f"? no (end of list)
363 smart1 router skipped: senders mismatch
364 --------> fail_remote_domains router <--------
365 local_part=x domain=smart.domain
366 checking domains
367 list element: ! +local_domains
368  start sublist local_domains
369   list element: test.ex
370   list element: myhost.test.ex
371   smart.domain in "test.ex : myhost.test.ex"? no (end of list)
372  end sublist local_domains
373 smart.domain in "! +local_domains"? yes (end of list)
374 calling fail_remote_domains router
375 rda_interpret (string): ':fail: unrouteable mail domain "$domain"'
376 expanded: ':fail: unrouteable mail domain "smart.domain"' (tainted)
377 file is not a filter file
378 parse_forward_list: :fail: unrouteable mail domain "smart.domain"
379 extract item: :fail: unrouteable mail domain "smart.domain"
380 fail_remote_domains router forced address failure
381 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
382 Verifying x@test.ex
383 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
384 Considering x@test.ex
385 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
386 routing x@test.ex
387 --------> smart1 router <--------
388 local_part=x domain=test.ex
389 checking domains
390 list element: smart.domain
391 test.ex in "smart.domain"? no (end of list)
392 smart1 router skipped: domains mismatch
393 --------> fail_remote_domains router <--------
394 local_part=x domain=test.ex
395 checking domains
396 list element: ! +local_domains
397  start sublist local_domains
398   list element: test.ex
399   test.ex in "test.ex : myhost.test.ex"? yes (matched "test.ex")
400  end sublist local_domains
401 data from lookup saved for cache for +local_domains: key 'test.ex' value 'test.ex'
402 test.ex in "! +local_domains"? no (matched "! +local_domains")
403 fail_remote_domains router skipped: domains mismatch
404 --------> smart2 router <--------
405 local_part=x domain=test.ex
406 checking domains
407 list element: test.ex
408 test.ex in "test.ex"? yes (matched "test.ex")
409 checking local_parts
410  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
411    cached open
412  search_find: file="TESTSUITE/aux-fixed/0085.data"
413    key="test.ex" partial=-1 affix=NULL starflags=0 opts=NULL
414  LRU list:
415    0TESTSUITE/aux-fixed/0085.data
416    End
417  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
418    type=lsearch key="test.ex" opts=NULL
419  file lookup required for test.ex
420    in TESTSUITE/aux-fixed/0085.data
421  creating new cache entry
422  lookup yielded: x : y : abc@d.e.f
423 list element: x
424 x in "x : y : abc@d.e.f"? yes (matched "x")
425 checking senders
426  search_open: lsearch "TESTSUITE/aux-fixed/0085.data"
427    cached open
428  search_find: file="TESTSUITE/aux-fixed/0085.data"
429    key="test.ex" partial=-1 affix=NULL starflags=0 opts=NULL
430  LRU list:
431    0TESTSUITE/aux-fixed/0085.data
432    End
433  internal_search_find: file="TESTSUITE/aux-fixed/0085.data"
434    type=lsearch key="test.ex" opts=NULL
435  cached data used for lookup of test.ex
436    in TESTSUITE/aux-fixed/0085.data
437  lookup yielded: x : y : abc@d.e.f
438 list element: x
439 address match test: subject=CALLER@myhost.test.ex pattern=x
440 list element: x
441 myhost.test.ex in "x"? no (end of list)
442 list element: y
443 address match test: subject=CALLER@myhost.test.ex pattern=y
444 list element: y
445 myhost.test.ex in "y"? no (end of list)
446 list element: abc@d.e.f
447 address match test: subject=CALLER@myhost.test.ex pattern=abc@d.e.f
448 CALLER@myhost.test.ex in "x : y : abc@d.e.f"? no (end of list)
449 smart2 router skipped: senders mismatch
450 no more routers
451 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
452 Verifying x@myhost.test.ex
453 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
454 Considering x@myhost.test.ex
455 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
456 routing x@myhost.test.ex
457 --------> smart1 router <--------
458 local_part=x domain=myhost.test.ex
459 checking domains
460 list element: smart.domain
461 myhost.test.ex in "smart.domain"? no (end of list)
462 smart1 router skipped: domains mismatch
463 --------> fail_remote_domains router <--------
464 local_part=x domain=myhost.test.ex
465 checking domains
466 list element: ! +local_domains
467  start sublist local_domains
468   list element: test.ex
469   list element: myhost.test.ex
470   myhost.test.ex in "test.ex : myhost.test.ex"? yes (matched "myhost.test.ex")
471  end sublist local_domains
472 data from lookup saved for cache for +local_domains: key 'myhost.test.ex' value 'myhost.test.ex'
473 myhost.test.ex in "! +local_domains"? no (matched "! +local_domains")
474 fail_remote_domains router skipped: domains mismatch
475 --------> smart2 router <--------
476 local_part=x domain=myhost.test.ex
477 checking domains
478 list element: test.ex
479 myhost.test.ex in "test.ex"? no (end of list)
480 smart2 router skipped: domains mismatch
481 no more routers
482 search_tidyup called
483 >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>