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