Enforce that only smtp transports can be used for verify callouts. Bug 1445
[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>
ec95d1a6
PH
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>
54c5ebb1
PH
86> # Operators
87>
723c72e6
JH
88> Failed: missing or misplaced { or }
89> Failed: missing or misplaced { or }
bef3ea7f 90> Failed: error from acl "a_nosuch"
525239c1
JH
91> acl: (0) [] []
92> acl: (1) [person@dom.ain] []
93> acl: (2) [firstarg] [secondarg]
94> acl: (1) [arg with spaces] []
723c72e6
JH
95> acl:
96> acl:
bef3ea7f
JH
97> acl: (0) [] []
98> acl: (1) [person@dom.ain] []
99> Failed: error from acl "a_defer"
100> acl: (2) [new arg1] [top_arg_1]
525239c1 101> acl: (1) [1] [] (1) [2] [] (1) [3] [] (1) [4] []
723c72e6 102>
54c5ebb1
PH
103> addrss: local-part@dom.ain
104> addrss: local-part@dom.ain
105> domain: dom.ain
106> domain: dom.ain
29f89cad
PH
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>
54c5ebb1
PH
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")
af561417 126> Failed: error in expression evaluation: expecting operator (after processing "-2 - -3")
54c5ebb1
PH
127> eval: 1
128> eval: -5
af561417 129> eval: 1
54c5ebb1
PH
130> eval: 40962
131> eval: 63
af561417 132> Failed: error in expression evaluation: expecting operator (after processing "0")
54c5ebb1
PH
133> eval10: 77
134> eval10: 8
af561417
PH
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>
54c5ebb1
PH
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