Test case for retry_include_ip_address
[exim.git] / test / stdout / 0002
CommitLineData
54c5ebb1
PH
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>
29f89cad
PH
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>
a64a3dfa
JH
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
042eb971 57> Failed: "nolist" is not a named list
a64a3dfa 58> listnamed: *.aa.bb : ^\Nxxx(.*)
042eb971
JH
59> Failed: "hlist" is not a domain named list
60> Failed: bad suffix on "list" operator
61>
a64a3dfa
JH
62> listcount: 3
63> listcount: 0
64> listcount: 3
65> listcount: 2
042eb971 66>
aa26e137
JH
67> listextract: b
68> listextract: XcX
69> listextract:
70> listextract:
71> listextract: fail
72> Failed: "extract" failed and "fail" requested
73>
ac4ef9bd
JH
74> sort: 1:2:3:4
75> sort: 4,3,2,1
76> sort: a:aa:B:c
77> sort: 10 smtp.ex.com:100 r2.ex.com:666 r99.ex.com
78> sort: 10,smtp.ex.com:100,r2.ex.com:666,r99.ex.com
79> sort: ""
80>
ec95d1a6
PH
81> # Tests with iscntrl() and illegal separators
82>
83> map: 'a'
84''
85'b'
86'c'
87>
88> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "0+") inside "reduce" item
89> reduce: 6
90> reduce: 6
91> reduce: 6
92>
54c5ebb1
PH
93> # Operators
94>
723c72e6
JH
95> Failed: missing or misplaced { or }
96> Failed: missing or misplaced { or }
bef3ea7f 97> Failed: error from acl "a_nosuch"
525239c1
JH
98> acl: (0) [] []
99> acl: (1) [person@dom.ain] []
100> acl: (2) [firstarg] [secondarg]
101> acl: (1) [arg with spaces] []
723c72e6
JH
102> acl:
103> acl:
bef3ea7f
JH
104> acl: (0) [] []
105> acl: (1) [person@dom.ain] []
106> Failed: error from acl "a_defer"
107> acl: (2) [new arg1] [top_arg_1]
525239c1 108> acl: (1) [1] [] (1) [2] [] (1) [3] [] (1) [4] []
723c72e6 109>
54c5ebb1
PH
110> addrss: local-part@dom.ain
111> addrss: local-part@dom.ain
112> domain: dom.ain
113> domain: dom.ain
29f89cad
PH
114>
115> addresses: ''abc@xyz' ''pqr@xyz
116> addresses: local-part@dom.ain
117> addresses: local-part@dom.ain+xyz@abc
118> addresses: local-part@dom.ain:xyz@abc:p@q:r@s
119> addresses:
120>
54c5ebb1
PH
121> escape: B7\267F2\362
122> eval: 2
123> eval: 7
124> eval: 9
125> eval: 4
126> eval: 6
127> eval: 42
128> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "")
129> eval: -2
130> eval: 1
131> eval: 1
132> Failed: error in expression evaluation: expecting closing parenthesis (after processing "-2 - (-3")
af561417 133> Failed: error in expression evaluation: expecting operator (after processing "-2 - -3")
54c5ebb1
PH
134> eval: 1
135> eval: -5
af561417 136> eval: 1
54c5ebb1
PH
137> eval: 40962
138> eval: 63
af561417 139> Failed: error in expression evaluation: expecting operator (after processing "0")
54c5ebb1
PH
140> eval10: 77
141> eval10: 8
af561417
PH
142> Failed: error in expression evaluation: expecting operator (after processing "0")
143> eval: 4
144> eval: 4
145> eval: 4
146> eval: 13
147> eval: 9
148> eval: 6
149> eval: 3
150> eval: 0
151> eval: 24
152> eval: 4608
153> eval: 4608
154> eval: -4608
155>
54c5ebb1
PH
156> expand: $primary_hostname myhost.test.ex
157> hash: jmg monty fbWx
158> hash: abcX abX aX X
159> hex2b64:EjRWeA==
160> hex2b64:q83v
161> hex2b64:q83v
162> hex2b64:Gis8TV5v
163> Failed: "1a2b3c4d5e6" contains an odd number of characters
164> Failed: "1a2b3c4d5e6g" is not a hex string
165> hex2b64:MPPJPkZDbetYunCBao7BJA==
166> hex2b64:ztcfpyNSMb7Tg/rP3EHE3cwi7PE=
167>
168> The base62 operator is actually a base36 operator in the Darwin and Cygwin
169> environments. Write cunning tests that produce the same output in both cases,
170> while doing a reasonable check.
171>
172> base62: OK
173> base62d: OK
174> base62d: OK
175> Failed: argument for base62 operator is "12345x", which is not a decimal number
176> Failed: argument for base62d operator is "0003D7.", which is not a base 36/62 number
177>
178> hmac: dd97e3ba5d1a61b5006108f8c8252953
179> hmac: 0210cf9d274b53f1550f657c378b29e8bfed1064
180> md5: 77add1d5f41223d5582fca736a5cb335
181> sha1: DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
182> sha1: A9993E364706816ABA3E25717850C26C9CD0D89D
183> mask: 192.168.10.192/28
184> mask: 192.168.10.206/32
185> Failed: mask value too big in "192.168.10.206/33"
186> mask: 0.0.0.0/0
187> Failed: missing mask value in "192.168.10.206"
188> Failed: "a.b.c.d" is not an IP address
189> nhash: 19 0/61
190> lc/uc: the quick BROWN FOX
191> length: The quick abc
192> lclpt: local-part
193> lclpt: local-part
194> quote: aZ09_.-Q "ab*cd" "abcd\"ef"
195> quote: "nl(\n)"
196> quote: "cr(\r)"
197> quote: "tab( )"
198