Add ${acl {name}{arg}} expansion item.
[exim.git] / test / stdout / 0002
1 >
2 > # These expansions can test variables in the configuration, but as there
3 > # is no message being processed, there is no message-related data. But
4 > # that of course gets tested in plenty of other places.
5 >
6 > # Some fixed variables
7 >
8 > exim_path: TESTSUITE/eximdir/exim
9 > primary_hostname: myhost.test.ex
10 > primary_hostname: myhost.test.ex
11 > qualify_domain: myhost.test.ex
12 > bounce_return_size_limit: 102400
13 > spool_directory: TESTSUITE/spool
14 > Failed: unknown variable in "${unknown}"
15 > h_subject: (should be empty)
16 > h_subject: (should be empty)
17 > Failed: unknown expansion operator "header_subject"
18 >
19 > # $message_headers should be empty
20 > message_headers: ><
21 >
22 > # Continuation
23 > xy
24 > xy
25 >
26 > # Overlong names and overbig numbers
27 >
28 > Failed: unknown variable name "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
29 > Failed: unknown variable in "${aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}"
30 > +
31 > +
32 >
33 > # List operations
34 >
35 > filter: "a:b:c"
36 > filter: a:c
37 > filter: a'c
38 > filter: ''a' ''c
39 > filter: ""
40 >
41 > map: ""
42 > map: a:b:c
43 > map: ::a::: ::b::: ::c::
44 > map: fail string
45 > map: []:[b]:[c]
46 >
47 > reduce: "+"
48 > reduce: +abc
49 > reduce: 6
50 > reduce: 9
51 >
52 > listnamed: *.aa.bb : ^\Nxxx(.*)
53 > listnamed: *.aa.bb : ^\Nxxx(.*)
54 > listnamed: V4NET.11.12.13 : iplsearch;TESTSUITE/aux-fixed/0002.iplsearch
55 > listnamed: *.aa.bb : ^\Nxxx(.*) : ;;
56 > listnamed: a : b;c : *.aa.bb : ^\Nxxx(.*) : ;; : 2001::630::212::8::204::::b664
57 > Failed: "nolist" is not a named list
58 > listnamed: *.aa.bb : ^\Nxxx(.*)
59 > Failed: "hlist" is not a domain named list
60 > Failed: bad suffix on "list" operator
61 >
62 > listcount: 3
63 > listcount: 0
64 > listcount: 3
65 > listcount: 2
66 >
67 > # Tests with iscntrl() and illegal separators
68 >
69 > map: 'a'
70 ''
71 'b'
72 'c'
73 >
74 > Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "0+") inside "reduce" item
75 > reduce: 6
76 > reduce: 6
77 > reduce: 6
78 >
79 > # Operators
80 >
81 > Failed: missing or misplaced { or }
82 > Failed: missing or misplaced { or }
83 > Failed: acl "a_bad" did not accept
84 > acl: []
85 > acl: [person@dom.ain]
86 > acl:
87 > acl:
88 > Failed: acl "a_deny" did not accept
89 > Failed: acl "a_deny" did not accept
90 > acl: [1] [2] [3] [4]
91 >
92 > addrss: local-part@dom.ain
93 > addrss: local-part@dom.ain
94 > domain: dom.ain
95 > domain: dom.ain
96 >
97 > addresses: ''abc@xyz' ''pqr@xyz
98 > addresses: local-part@dom.ain
99 > addresses: local-part@dom.ain+xyz@abc
100 > addresses: local-part@dom.ain:xyz@abc:p@q:r@s
101 > addresses:
102 >
103 > escape: B7\267F2\362
104 > eval: 2
105 > eval: 7
106 > eval: 9
107 > eval: 4
108 > eval: 6
109 > eval: 42
110 > Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "")
111 > eval: -2
112 > eval: 1
113 > eval: 1
114 > Failed: error in expression evaluation: expecting closing parenthesis (after processing "-2 - (-3")
115 > Failed: error in expression evaluation: expecting operator (after processing "-2 - -3")
116 > eval: 1
117 > eval: -5
118 > eval: 1
119 > eval: 40962
120 > eval: 63
121 > Failed: error in expression evaluation: expecting operator (after processing "0")
122 > eval10: 77
123 > eval10: 8
124 > Failed: error in expression evaluation: expecting operator (after processing "0")
125 > eval: 4
126 > eval: 4
127 > eval: 4
128 > eval: 13
129 > eval: 9
130 > eval: 6
131 > eval: 3
132 > eval: 0
133 > eval: 24
134 > eval: 4608
135 > eval: 4608
136 > eval: -4608
137 >
138 > expand: $primary_hostname myhost.test.ex
139 > hash: jmg monty fbWx
140 > hash: abcX abX aX X
141 > hex2b64:EjRWeA==
142 > hex2b64:q83v
143 > hex2b64:q83v
144 > hex2b64:Gis8TV5v
145 > Failed: "1a2b3c4d5e6" contains an odd number of characters
146 > Failed: "1a2b3c4d5e6g" is not a hex string
147 > hex2b64:MPPJPkZDbetYunCBao7BJA==
148 > hex2b64:ztcfpyNSMb7Tg/rP3EHE3cwi7PE=
149 >
150 > The base62 operator is actually a base36 operator in the Darwin and Cygwin
151 > environments. Write cunning tests that produce the same output in both cases,
152 > while doing a reasonable check.
153 >
154 > base62: OK
155 > base62d: OK
156 > base62d: OK
157 > Failed: argument for base62 operator is "12345x", which is not a decimal number
158 > Failed: argument for base62d operator is "0003D7.", which is not a base 36/62 number
159 >
160 > hmac: dd97e3ba5d1a61b5006108f8c8252953
161 > hmac: 0210cf9d274b53f1550f657c378b29e8bfed1064
162 > md5: 77add1d5f41223d5582fca736a5cb335
163 > sha1: DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
164 > sha1: A9993E364706816ABA3E25717850C26C9CD0D89D
165 > mask: 192.168.10.192/28
166 > mask: 192.168.10.206/32
167 > Failed: mask value too big in "192.168.10.206/33"
168 > mask: 0.0.0.0/0
169 > Failed: missing mask value in "192.168.10.206"
170 > Failed: "a.b.c.d" is not an IP address
171 > nhash: 19 0/61
172 > lc/uc: the quick BROWN FOX
173 > length: The quick abc
174 > lclpt: local-part
175 > lclpt: local-part
176 > quote: aZ09_.-Q "ab*cd" "abcd\"ef"
177 > quote: "nl(\n)"
178 > quote: "cr(\r)"
179 > quote: "tab( )"
180 > quote: "xff(ÿ)"
181 > quote: Empty>""<
182 > quote_local_part: abcd
183 > quote_local_part: O'Reilly
184 > quote_local_part: "a space"
185 > quote_local_part: ".something"
186 > quote_local_part: "something."
187 > quote_local_part: joe.bloggs
188 > quote_local_part: a!b
189 > quote_local_part: "x@y"
190 > quote_local_part: ab*cd
191 > quote_local_part: "x:y"
192 > quote_local_part: "abcd\"ef"
193 > quote_local_part: ""
194 > rxquote:aZ09\_\,\-Q ab\*cd abcd\"ef
195 > substr: ba 34 1
196 > substr: barb rhuba
197 > substr:
198 > substr:
199 > str2b64:YWJjZA==
200 > str2b64:VGhlIHF1aWNrIGJyb3duIAogZm94
201 > strlen: 0
202 > strlen: 1
203 > strlen: 8
204 > time_eval: 10
205 > time_eval: 7200
206 > time_eval: 86700
207 > time_eval: 788645
208 > Failed: string "14" is not an Exim time interval in "time_eval" operator
209 > Failed: string "rhubarb" is not an Exim time interval in "time_eval" operator
210 > time_interval: 0s
211 > time_interval: 44s
212 > time_interval: 1w4d13h46m39s
213 > Failed: string "-1" is not a positive number in "time_interval" operator
214 > Failed: string "rhubarb" is not a positive number in "time_interval" operator
215 >
216 > # stat is a bit tricky, but some of the fields of the aux-var directory
217 > # should be the same on all systems
218 >
219 > stat: 40755
220 > stat: drwxr-xr-x
221 > Failed: stat(/a/non/existent/file) failed: No such file or directory
222 >
223 > # "Operators" that have expanded arguments
224 >
225 > hash: jmg monty fbWx
226 > hash: abcX abX aX X
227 > nhash: 19 0/61
228 > length: The quick abc
229 > substr: ba 34 1
230 > substr:
231 >
232 > # Error forms
233 >
234 > Failed: missing or misplaced { or }
235 > Failed: "nonnumber" is not a number (in "hash" expansion)
236 > Failed: Too many arguments for "hash" (max is 3)
237 > Failed: "-2" is not a positive number (in "substr" expansion)
238 >
239 > # Skipped operators
240 >
241 > addrss: NO
242 > domain: NO
243 > escape: NO
244 > expand: NO
245 > hash: NO
246 > md5: NO
247 > mask: NO
248 >
249 > # Number suffixes in conditions
250 > 1k: y
251 > 1K: y
252 > 1M: y
253 > 1G: y
254 >
255 > # Numeric overflow
256 > # >32b should work, >64b not
257 >
258 > 4096M y
259 > 4096000000 y
260 > 4611686018427387904 y
261 > Failed: absolute value of integer "46116860184273879040" is too large (overflow)
262 >
263 > # Conditions
264 >
265 > 2=2: y
266 > 2==2: y
267 > 3=2: n
268 > 2==3: n
269 > !2=2: n
270 > !2==2: n
271 > !3=2: y
272 > !2==3: y
273 > 2>3: n
274 > 3>3: n
275 > 4>3: y
276 > 1>-1: y
277 > 2>=3: n
278 > 3>=3: y
279 > 4>=3: y
280 > 2<3: y
281 > 3<3: n
282 > 4<3: n
283 > 2<=3: y
284 > 3<=3: y
285 > 4<=3: n
286 > 5<=3: n
287 > -3<=1: y
288 >
289 > 5>3k: n
290 > 5>3m: n
291 > Failed: invalid integer "3z "
292 > Failed: integer expected but "a" found
293 >
294 > >0: n
295 > =: y
296 > -2<: y
297 > 08>07: y
298 > 011=11: y
299 >
300 > def:y y
301 > def:n n
302 > Failed: unknown variable "post" after "def:"
303 > def:h_f n
304 > def:h_f n
305 > Failed: missing or misplaced { or }
306 >
307 > exists: y
308 > exists: n
309 >
310 > eq: y
311 > eq: n
312 > !eq: n
313 > !eq: y
314 >
315 > eqi: y
316 > eqi: y
317 > eqi: n
318 > !eqi: n
319 > !eqi: n
320 > !eqi: y
321 >
322 > lt: y
323 > lti: n
324 > le: y
325 > lei: y
326 > gt: n
327 > gti: n
328 > ge: n
329 > gei: y
330 >
331 > isip: y 1.2.3.4
332 > isip4: y 1.2.3.4
333 > isip6: n 1.2.3.4
334 > isip: n 1:2:3:4
335 > isip4: n 1:2:3:4
336 > isip6: n 1:2:3:4
337 > isip: y ::1
338 > isip4: n ::1
339 > isip6: y ::1
340 > isip: y fe80::a00:20ff:fe86:a061
341 > isip4: n fe80::a00:20ff:fe86:a061
342 > isip6: y fe80::a00:20ff:fe86:a061
343 > isip: n rhubarb
344 > isip4: n rhubarb
345 > isip6: n rhubarb
346 >
347 > match: cdab
348 > match: cdab
349 > match: cdab
350 > Failed: "if" failed and "fail" requested
351 > match: cd[xyz]ab
352 >
353 > match_domain: yes
354 > match_domain: no
355 > match_domain: yes
356 > match_domain: yes
357 > match_domain: no
358 >
359 > >x@zz.aa.bb< [] >x@zz.aa.bb<
360 >
361 > >x@xxxabc< [] >x@xxxabc<
362 >
363 > match_address: yes
364 > match_address: yes
365 >
366 > match_local_part:yes
367 > match_local_part:yes
368 >
369 > match_ip: 01 true
370 > match_ip: 02
371 > match_ip: 03 true
372 > match_ip: 04 true
373 > match_ip: 05
374 > match_ip: 06
375 > match_ip: 07 true
376 > match_ip: 08 true
377 > match_ip: 09
378 > match_ip: 10 true
379 > Failed: "somename" is not an IP address
380 > match_ip: 12 true
381 > match_ip: 13 true
382 > match_ip: 14 true
383 > match_ip: 15 true
384 >
385 > queue_running: n
386 > first_delivery: n
387 >
388 > queue_running after or: y
389 > first_delivery after or: y
390 >
391 > # Default values for both if strings
392 >
393 > ${if eq{1}{1}} >true<
394 > ${if eq{1}{2}} ><
395 >
396 > # Lookups: DIR is the testing directory. In this test we can only use the
397 > # lookups that are required in all cases.
398 >
399 > CALLER
400 >
401 > ==X@Y
402 > ==*
403 > ==*@Z
404 > ==*
405 >
406 > data for a.b.c.d
407 > failed x.y.z
408 > data for *.p.q
409 > data for *.p.q
410 > data for *.p.q
411 > Failed: "lookup" failed and "fail" requested
412 > data for *
413 >
414 > q1: "abc"
415 > q2: "xyz":
416 > q3: "pqr" :
417 > q4: "a:b" abc continued data (make sure not key)
418 > q5: "\"quoted\""
419 > q6: "white space"
420 > q7: "b\\s"
421 >
422 > abc: abc
423 > a.b.c: *.b.c
424 > ab.c: *b.c
425 > xyz: ^X
426 > Xyz: ^X
427 > Zyz: ^Z
428 > a b: "^a +b"
429 > a b: "^a +b"
430 > a:b: lookup succeeded
431 > a.b: ^a\\.+b
432 > a..b: ^a\\.+b
433 > a9b: \N^a\d+b
434 > a99b: \N^a\d+b
435 >
436 > # Should give the same results as above because expansion does nothing
437 >
438 > abc: abc
439 > a.b.c: *.b.c
440 > ab.c: *b.c
441 > xyz: ^X
442 > Xyz: ^X
443 > Zyz: ^Z
444 > a b: "^a +b"
445 > a b: "^a +b"
446 > a:b: lookup succeeded
447 >
448 > # Should fail because of no expansion
449 >
450 > a.b: NO
451 > a..b: NO
452 > a9b: NO
453 > a99b: NO
454 >
455 > # But these should succeed
456 >
457 > a\:b: ^a\\.+b
458 > a\:Xb: ^a\\.+b
459 >
460 > # Some tests of case-(in)dependence
461 >
462 > MiXeD-CD: Data found for case-dependent MiXeD-CD
463 > MixeD-CD: NOT FOUND
464 > MiXeD-Ncd: Data found for case-independent MiXeD-nCD
465 > MixeD-Ncd: Data found for case-independent MiXeD-nCD
466 >
467 > # IP address (CIDR) lookups
468 >
469 > 1.2.3.4: data for 1.2.3.4
470 > 1.2.3.5:
471 > 1.2.3.5: data for *
472 > abcd::cdab: data for abcd::cdab
473 > 192.168.1.2: data for 192.168.0.0/16
474 > 192.168.5.6: data for 192.168.0.0/16
475 > abcd:abcd:: data for abcd:abcd::/32
476 > abcd:abcd:1:: data for abcd:abcd::/32
477 > abcd:abcd::3 data for abcd:abcd::/32
478 > Failed: lookup of "rhubarb" gave DEFER: "rhubarb" is not a valid iplsearch key (an IP address, with optional CIDR mask, is wanted): in a host list, use net-iplsearch as the search type
479 >
480 >
481 > # Nested Lookups - style 1
482 >
483 > The data for key1->key2
484 > Failed: "lookup" failed and "fail" requested
485 >
486 > # Nested Lookups - style 2
487 >
488 > The data for key1->key2
489 > failed for key4
490 >
491 > # Other nesting tests
492 >
493 > 1-in-1
494 > 2-in-2
495 > both-in-1,both-in-2
496 > Failed: "lookup" failed and "fail" requested
497 >
498 > # Lookup quotes for standardly expected lookups
499 >
500 > lsearch !@#$%^&*()_-+=|\~`1234567890{[}]qwertyuiop:;"'asdfghjkl<,>.?/zxcvbnm
501 > Failed: unknown lookup type "xxx"
502 >
503 > # Extract
504 >
505 > 2
506 > 2
507 > 2
508 > 2
509 > Empty:<>
510 > Empty:<>
511 > <3>
512 > <3>
513 > Empty:<>
514 > Empty:<>
515 > no Z
516 > no 4
517 > Failed: "extract" failed and "fail" requested
518 > Failed: "extract" failed and "fail" requested
519 > D
520 > a:b:c:d:e
521 > a
522 > e
523 > a
524 > FAIL
525 > b
526 >
527 > b
528 > three four
529 > Failed: first argument of "extract" must not be empty
530 > Failed: first argument of "extract" must not be empty
531 > b
532 >
533 > # Translation
534 >
535 > abcdea aaa xyz zbcdez
536 > abcdea a z zbcdez
537 > abcdea a abcdea
538 > abcdea abc z zzzdez
539 >
540 > # Boolean
541 > "TrUe" true EXPECT: true
542 > "FALSE" false EXPECT: false
543 > " yes" true EXPECT: true
544 > " no" false EXPECT: false
545 > "yes " true EXPECT: true
546 > Failed: unrecognised boolean value "-1"
547 > "0" false EXPECT: false
548 > "1" true EXPECT: true
549 > " 0 " false EXPECT: false
550 > " 1 " true EXPECT: true
551 > "1111111111111111111" true EXPECT: true
552 > "9" true EXPECT: true
553 > " " false EXPECT: false
554 > Failed: unrecognised boolean value "text"
555 > Failed: unrecognised boolean value "text"
556 > Failed: unrecognised boolean value "text"
557 > Failed: unrecognised boolean value "text"
558 > "00" false EXPECT: false
559 > "!true" false EXPECT: false
560 > "!false" true EXPECT: true
561 >
562 > "TrUe" true EXPECT: true
563 > "FALSE" false EXPECT: false
564 > " yes" true EXPECT: true
565 > " no" false EXPECT: false
566 > "yes " true EXPECT: true
567 > "-1" true EXPECT: true
568 > "0" false EXPECT: false
569 > "1" true EXPECT: true
570 > " 0 " false EXPECT: false
571 > " 1 " true EXPECT: true
572 > "1111111111111111111" true EXPECT: true
573 > "9" true EXPECT: true
574 > " " false EXPECT: false
575 > "text" true EXPECT: true
576 > " text" true EXPECT: true
577 > "text " true EXPECT: true
578 > " text " true EXPECT: true
579 > "00" true EXPECT: true
580 > "!true" false EXPECT: false
581 > "!false" true EXPECT: true
582 >
583 > # RFC 2047
584 >
585 > abcd abcd
586 > <:abcd:> =?iso-8859-8?Q?=3C=3Aabcd=3A=3E?=
587 > <:ab cd:> =?iso-8859-8?Q?=3C=3Aab_cd=3A=3E?=
588 > Long: =?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_?= =?iso-8859-8?Q?it_will_go_over_the_75-char_limit?=
589 > Long: =?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_?= =?iso-8859-8?Q?it_will_go_over_the_75-char_limit_by_a_long_way=3B_in?= =?iso-8859-8?Q?_fact_this_one_will_go_over_the_150_character_limit?=
590 >
591 > # RFC 2047 decode
592 >
593 > abcd abcd
594 > <:abcd:> <:abcd:>
595 > <:ab cd:> <:ab cd:>
596 > Long: here we go: a string that is going to be encoded: it will go over the 75-char limit
597 > Long: here we go: a string that is going to be encoded: it will go over the 75-char limit by a long way; in fact this one will go over the 150 character limit
598 >
599 > # UTF-8
600 >
601 > abcd abcd
602 > aÀÿd aÀÿd
603 > toobig a_d
604 >
605 > # Substitution
606 >
607 > ${sg{abcdefabcdef}{abc}{xyz}} =xyzdefxyzdef
608 > ${sg{ab:xy::z}{:}{::}} =ab::xy::::z
609 > ${sg{abcdefabcdef}{(..)[^c]}{>$1<}} =a><><><ef
610 > ${sg{abcdefabcdef}{(..)[^c]}{>\$1<}} =a>bc<>ef<>bc<ef
611 > ${sg{abcdefabcdef}{(..)[^c]}{>\N$1\N<}}=a>bc<>ef<>bc<ef
612 > ${sg{abbab}{a*}{+}} =++b+b++b+
613 >
614 > # File insertion
615 >
616 > Failed: missing or misplaced { or }
617 > abcde
618 12345
619
620 xyz
621
622 > abcde12345xyz
623 > abcde:12345::xyz:
624 > abcde - 12345 - - xyz -
625 > Failed: failed to open /non/exist/file: No such file or directory
626 > non-exist
627 > >abcde!12345!!xyz!<
628 >
629 > # Calling a command
630 >
631 > abcd
632 1234
633
634 > RC=0
635 > 1
636 > RC=0
637 > abcd
638 1234
639
640 > RC=0
641 > 2
642 > RC=1
643 > abcd
644 1234
645
646 > RC=1
647 > N
648 > RC=127
649 > >><<
650 > RC=0
651 > 1!=2
652 > RC=0
653 >
654 > # PRVS
655 >
656 > prvs=xxxxxxxxxx=userx@test.ex
657 > prvs=xxxxxxxxxx=userx@test.ex
658 > prvs=xxxxxxxxxx=userx@test.ex
659 >
660 > # Syntax errors
661 >
662 > Failed: prvs second argument must be a single digit
663 > Failed: prvs second argument must be a single digit
664 > Failed: prvs second argument must be a single digit
665 >
666 > # Correct checks; can't put explicit addresses in the tests, because they
667 > # will change over time.
668 >
669 > userx@test.ex
670 > result=1
671 >
672 > >1< >userx@test.ex< >1<
673 > result=1
674 >
675 > userx@test.ex
676 > result=1
677 >
678 > # Incorrect secret
679 >
680 > userx@test.ex
681 > result=
682 >
683 > 0
684 > result=
685 >
686 > # Non-prvs address
687 >
688 > >><<
689 > result=
690 >
691 > # Syntax errors
692 >
693 > Failed: "${tod_log" is not a known operator (or a } is missing in a variable reference)
694 > Failed: "${tod_log" is not a known operator (or a } is missing in a variable reference)
695 > Failed: missing } at end of string
696 > Failed: missing } at end of string
697 > Failed: hmac algorithm "xxx" is not recognised
698 > Failed: each subcondition inside an "and{...}" condition must be in its own {}
699 > Failed: unknown condition "xya" inside "and{...}" condition
700 > Failed: condition name expected, but found "${lookup{x}lsear" inside "and{...}" condition
701 > Failed: missing } at end of string - could be header name not terminated by colon
702 > Failed: missing or misplaced { or }
703 > Failed: missing or misplaced { or } - could be header name not terminated by colon
704 > Failed: each subcondition inside an "or{...}" condition must be in its own {}
705 > Failed: missing } at end of condition inside "or" group
706 > Failed: unknown condition "yes" inside "or{...}" condition
707 > Failed: non-digit after underscore in "substr_1_"
708 > Failed: non-digit after underscore in "substr__3"
709 >
710 > # Iterations: forany and forall
711 >
712 > yes
713 > yes
714 > yes
715 > no
716 > yes
717 > no
718 > no
719 > yes
720 > yes
721 >
722 > Failed: unknown condition "yes" inside "forany" condition
723 > Failed: missing } at end of condition inside "forany"
724 >
725 > yes
726 > no
727 > no
728 > no
729 >
730 > no
731 > yes
732 > yes
733 > yes
734 >
735 > # Expect yes
736 > outer=yes item='' (unset)
737 >
738 > # Expect no
739 > outer=no
740 >
741 > # Error inside nest - check message is helpful
742 > Failed: missing } at end of condition inside "forall" inside "forany" condition
743 >
744 >
745 > # Miscellaneous (for bug fixes, etc)
746 >
747 > true
748 >
749 >
750 > escape: B7·F2ò
751 >
752 > primary_hostname: myhost.test.ex
753 > match: cdab
754 > Failed: "if" failed and "fail" requested
755 > yes
756 > match_address: no
757 >
758 > -oMa sender_host_address =
759 > sender_host_port = 0
760 > -oMaa sender_host_authenticated =
761 > -oMai authenticated_id = CALLER
762 > -oMas authenticated_sender = CALLER@myhost.test.ex
763 > -oMi interface_address =
764 > interface_port = -1
765 > -oMr received_protocol =
766 > -oMs sender_host_name =
767 > -oMt sender_ident = CALLER
768 >
769 > -oMa sender_host_address = V4NET.0.0.1
770 > sender_host_port = 1234
771 > -oMaa sender_host_authenticated = AAA
772 > -oMai authenticated_id = philip
773 > -oMas authenticated_sender = xx@yy.zz
774 > -oMi interface_address = 1.1.1.1
775 > interface_port = 99
776 > -oMr received_protocol = special
777 > -oMt sender_ident = me
778 >
779 > -oMa sender_host_address = V4NET.0.0.1
780 > sender_host_port = 1234
781 > -oMs sender_host_name = my.host.name
782 >
783 > -oMs sender_host_name =
784 > host_lookup_failed = 1
785 >
786 > -p received_protocol = special
787 > -p sender_host_name = host.name
788 >
789 > -oMa sender_host_address = V4NET.0.0.1
790 > sender_host_port = 1234
791 > -oMaa sender_host_authenticated = AAA
792 > -oMai authenticated_id = philip
793 > -oMas authenticated_sender = xx@yy.zz
794 > -oMi interface_address = 1.1.1.1
795 > interface_port = 99
796 > -oMr received_protocol = special
797 > ----> No lookup yet: No
798 > -oMs sender_host_name = ten-1.test.ex
799 > -oMt sender_ident = me
800 >
801
802 **** SMTP testing session as if from host V4NET.0.0.1
803 **** but without any ident (RFC 1413) callback.
804 **** This is not for real!
805
806 550 Administrative prohibition
807
808 **** SMTP testing session as if from host V4NET.0.0.2
809 **** but without any ident (RFC 1413) callback.
810 **** This is not for real!
811
812 550 Administrative prohibition
813
814 **** SMTP testing session as if from host V4NET.0.0.0
815 **** but without any ident (RFC 1413) callback.
816 **** This is not for real!
817
818 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
819 250 OK
820 250 Accepted
821 354 Enter message, ending with "." on a line by itself
822 550 reply_address=<>
823 250 OK
824 250 Accepted
825 354 Enter message, ending with "." on a line by itself
826 550 reply_address=<a@b>
827 250 OK
828 250 Accepted
829 354 Enter message, ending with "." on a line by itself
830 550 reply_address=<c@d>
831 250 OK
832 250 Accepted
833 354 Enter message, ending with "." on a line by itself
834 550 reply_address=<>
835 250 OK
836 250 Accepted
837 354 Enter message, ending with "." on a line by itself
838 550 reply_address=<x@y>
839 221 myhost.test.ex closing connection
840
841 **** SMTP testing session as if from host V4NET.0.0.0
842 **** but without any ident (RFC 1413) callback.
843 **** This is not for real!
844
845 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
846 250 OK
847 250 Accepted
848 354 Enter message, ending with "." on a line by itself
849 550 reply_address=<>
850 221 myhost.test.ex closing connection
851
852 **** SMTP testing session as if from host V4NET.0.0.0
853 **** but without any ident (RFC 1413) callback.
854 **** This is not for real!
855
856 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
857 250 OK
858 250 Accepted
859 354 Enter message, ending with "." on a line by itself
860 550 reply_address=<>
861 221 myhost.test.ex closing connection
862 > match_ip: 15
863 > match_ip: 16
864 >