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