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