Fix CVE-2016-1531
[exim.git] / test / stderr / 0002
1 Exim version x.yz ....
2 configuration file is TESTSUITE/test-config
3 admin user
4 expanding: primary_hostname: $primary_hostname
5    result: primary_hostname: myhost.test.ex
6 expanding: abcd
7    result: abcd
8 expanding: \N^([ab]+)(\w+)$\N
9    result: ^([ab]+)(\w+)$
10 condition: match{abcd}{\N^([ab]+)(\w+)$\N}
11    result: true
12 expanding: $2$1
13    result: cdab
14 expanding: match:  ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
15    result: match:  cdab
16 expanding: wxyz
17    result: wxyz
18 expanding: \N^([ab]+)(\w+)$\N
19    result: ^([ab]+)(\w+)$
20 condition: match{wxyz}{\N^([ab]+)(\w+)$\N}
21    result: false
22 expanding: $2$1
23    result: 
24 skipping: result is not used
25 failed to expand: match:  ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
26    error message: "if" failed and "fail" requested
27 failure was forced
28 expanding: 1
29    result: 1
30 expanding: 1
31    result: 1
32 condition: eq {1}{1}
33    result: true
34 expanding: yes
35    result: yes
36 expanding: xx
37    result: xx
38 skipping: result is not used
39 expanding: /non/exist
40    result: /non/exist
41 skipping: result is not used
42 expanding: ${lookup{xx}lsearch{/non/exist}}
43    result: 
44 skipping: result is not used
45 expanding: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}}
46    result: yes
47 expanding: a.b.c
48    result: a.b.c
49 expanding: a.b.c
50    result: a.b.c
51 LOG: MAIN PANIC
52   no @ found in the subject of an address list match: subject="a.b.c" pattern="a.b.c"
53 condition: match_address{a.b.c}{a.b.c}
54    result: false
55 expanding: yes
56    result: yes
57 skipping: result is not used
58 expanding: no
59    result: no
60 expanding: match_address:   ${if match_address{a.b.c}{a.b.c}{yes}{no}}
61    result: match_address:   no
62 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
63 Exim version x.yz ....
64 configuration file is TESTSUITE/test-config
65 admin user
66 expanding: -oMa  sender_host_address = $sender_host_address
67    result: -oMa  sender_host_address = V4NET.0.0.1
68 expanding:       sender_host_port = $sender_host_port
69    result:       sender_host_port = 1234
70 expanding: -oMaa sender_host_authenticated = $sender_host_authenticated
71    result: -oMaa sender_host_authenticated = AAA
72 expanding: -oMai authenticated_id = $authenticated_id
73    result: -oMai authenticated_id = philip
74 expanding: -oMas authenticated_sender = $authenticated_sender
75    result: -oMas authenticated_sender = xx@yy.zz
76 expanding: -oMi  interface_address = $interface_address
77    result: -oMi  interface_address = 1.1.1.1
78 expanding:       interface_port = $interface_port
79    result:       interface_port = 99
80 expanding: -oMr  received_protocol = $received_protocol
81    result: -oMr  received_protocol = special
82 expanding: -oMt  sender_ident = $sender_ident
83    result: -oMt  sender_ident = me
84 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
85 1999-03-02 09:44:33 no host name found for IP address V4NET.11.12.13
86 Exim version x.yz ....
87 configuration file is TESTSUITE/test-config
88 admin user
89 expanding: -oMa  sender_host_address = $sender_host_address
90    result: -oMa  sender_host_address = V4NET.0.0.1
91 expanding:       sender_host_port = $sender_host_port
92    result:       sender_host_port = 1234
93 expanding: -oMaa sender_host_authenticated = $sender_host_authenticated
94    result: -oMaa sender_host_authenticated = AAA
95 expanding: -oMai authenticated_id = $authenticated_id
96    result: -oMai authenticated_id = philip
97 expanding: -oMas authenticated_sender = $authenticated_sender
98    result: -oMas authenticated_sender = xx@yy.zz
99 expanding: -oMi  interface_address = $interface_address
100    result: -oMi  interface_address = 1.1.1.1
101 expanding:       interface_port = $interface_port
102    result:       interface_port = 99
103 expanding: -oMr  received_protocol = $received_protocol
104    result: -oMr  received_protocol = special
105 expanding: black
106    result: black
107 expanding: white
108    result: white
109 condition: eq{black}{white}
110    result: false
111 expanding: $sender_host_name
112    result: 
113 skipping: result is not used
114 expanding: No
115    result: No
116 expanding: ----> No lookup yet: ${if eq{black}{white}{$sender_host_name}{No}}
117    result: ----> No lookup yet: No
118 looking up host name for V4NET.0.0.1
119 IP address lookup yielded ten-1.test.ex
120 using host_fake_gethostbyname for ten-1.test.ex (IPv4)
121 MUNGED: ::1 will be omitted in what follows
122 get[host|ipnode]byname[2] looked up these IP addresses:
123   name=ten-1.test.ex address=V4NET.0.0.1
124 checking addresses for ten-1.test.ex
125   V4NET.0.0.1 OK
126 sender_fullhost = ten-1.test.ex [V4NET.0.0.1]
127 sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1] ident=me)
128 expanding: -oMs  sender_host_name = $sender_host_name
129    result: -oMs  sender_host_name = ten-1.test.ex
130 expanding: -oMt  sender_ident = $sender_ident
131    result: -oMt  sender_ident = me
132 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
133 Exim version x.yz ....
134 changed uid/gid: forcing real = effective
135   uid=uuuu gid=CALLER_GID pid=pppp
136 PATH in keep_environment? no (end of list)
137 PWD in keep_environment? no (end of list)
138 SHELL in keep_environment? no (end of list)
139 TERM in keep_environment? no (end of list)
140 USER in keep_environment? yes (matched "USER")
141 configuration file is TESTSUITE/test-config
142 admin user
143 changed uid/gid: privilege not needed
144   uid=EXIM_UID gid=EXIM_GID pid=pppp
145 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
146 sender address = CALLER@myhost.test.ex
147 sender_fullhost = [V4NET.0.0.1]
148 sender_rcvhost = [V4NET.0.0.1]
149 host in hosts_connection_nolog? no (option unset)
150 LOG: smtp_connection MAIN
151   SMTP connection from [V4NET.0.0.1]
152 host in host_lookup? no (option unset)
153 set_process_info: pppp handling incoming connection from [V4NET.0.0.1]
154 host in host_reject_connection? no (option unset)
155 host in sender_unqualified_hosts? no (option unset)
156 host in recipient_unqualified_hosts? no (option unset)
157 host in helo_verify_hosts? no (option unset)
158 host in helo_try_verify_hosts? no (option unset)
159 host in helo_accept_junk_hosts? no (option unset)
160 using ACL "connect1"
161 processing "deny"
162 check hosts = <\n partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch \n 1.2.3.4
163 sender host name required, to match against partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch
164 looking up host name for V4NET.0.0.1
165 DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) using fakens
166 DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) succeeded
167 IP address lookup yielded ten-1.test.ex
168 using host_fake_gethostbyname for ten-1.test.ex (IPv4)
169 DNS lookup of ten-1.test.ex (A) using fakens
170 DNS lookup of ten-1.test.ex (A) succeeded
171 MUNGED: ::1 will be omitted in what follows
172 get[host|ipnode]byname[2] looked up these IP addresses:
173   name=ten-1.test.ex address=V4NET.0.0.1
174 checking addresses for ten-1.test.ex
175   V4NET.0.0.1 OK
176 sender_fullhost = ten-1.test.ex [V4NET.0.0.1]
177 sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1])
178 search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch"
179 search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
180   key="ten-1.test.ex" partial=2 affix=*. starflags=0
181 LRU list:
182   0TESTSUITE/aux-fixed/0002.lsearch
183   End
184 internal_search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
185   type=lsearch key="ten-1.test.ex"
186 file lookup required for ten-1.test.ex
187   in TESTSUITE/aux-fixed/0002.lsearch
188 lookup yielded: 
189 host in "<
190  partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch 
191  1.2.3.4"? yes (matched "partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch")
192 deny: condition test succeeded in ACL "connect1"
193 SMTP>> 550 Administrative prohibition
194 LOG: MAIN REJECT
195   H=ten-1.test.ex [V4NET.0.0.1] rejected connection in "connect" ACL
196 search_tidyup called
197 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
198 Exim version x.yz ....
199 changed uid/gid: forcing real = effective
200   uid=uuuu gid=CALLER_GID pid=pppp
201 PATH in keep_environment? no (end of list)
202 PWD in keep_environment? no (end of list)
203 SHELL in keep_environment? no (end of list)
204 TERM in keep_environment? no (end of list)
205 USER in keep_environment? yes (matched "USER")
206 configuration file is TESTSUITE/test-config
207 admin user
208 changed uid/gid: privilege not needed
209   uid=EXIM_UID gid=EXIM_GID pid=pppp
210 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
211 sender address = CALLER@myhost.test.ex
212 sender_fullhost = [V4NET.0.0.2]
213 sender_rcvhost = [V4NET.0.0.2]
214 host in hosts_connection_nolog? no (option unset)
215 LOG: smtp_connection MAIN
216   SMTP connection from [V4NET.0.0.2]
217 host in host_lookup? no (option unset)
218 set_process_info: pppp handling incoming connection from [V4NET.0.0.2]
219 host in host_reject_connection? no (option unset)
220 host in sender_unqualified_hosts? no (option unset)
221 host in recipient_unqualified_hosts? no (option unset)
222 host in helo_verify_hosts? no (option unset)
223 host in helo_try_verify_hosts? no (option unset)
224 host in helo_accept_junk_hosts? no (option unset)
225 using ACL "connect2"
226 processing "deny"
227 check hosts = net-lsearch;TESTSUITE/aux-fixed/0002.lsearch
228 search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch"
229 search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
230   key="V4NET.0.0.2" partial=-1 affix=NULL starflags=0
231 LRU list:
232   0TESTSUITE/aux-fixed/0002.lsearch
233   End
234 internal_search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
235   type=lsearch key="V4NET.0.0.2"
236 file lookup required for V4NET.0.0.2
237   in TESTSUITE/aux-fixed/0002.lsearch
238 lookup failed
239 host in "net-lsearch;TESTSUITE/aux-fixed/0002.lsearch"? no (end of list)
240 deny: condition test failed in ACL "connect2"
241 end of ACL "connect2": implicit DENY
242 SMTP>> 550 Administrative prohibition
243 LOG: MAIN REJECT
244   H=[V4NET.0.0.2] rejected connection in "connect" ACL
245 search_tidyup called
246 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
247 >>> host in hosts_connection_nolog? no (option unset)
248 >>> host in host_lookup? no (option unset)
249 >>> host in host_reject_connection? no (option unset)
250 >>> host in sender_unqualified_hosts? no (option unset)
251 >>> host in recipient_unqualified_hosts? no (option unset)
252 >>> host in helo_verify_hosts? no (option unset)
253 >>> host in helo_try_verify_hosts? no (option unset)
254 >>> host in helo_accept_junk_hosts? no (option unset)
255 >>> using ACL "connect0"
256 >>> processing "accept"
257 >>> accept: condition test succeeded in ACL "connect0"
258 >>> processing "accept"
259 >>> accept: condition test succeeded in inline ACL
260 >>> using ACL "check_data"
261 >>> processing "warn"
262 >>> check logwrite = Subject is: "$h_subject:"
263 >>>                = Subject is: ""
264 LOG: 10HmaX-0005vi-00 Subject is: ""
265 >>> warn: condition test succeeded in ACL "check_data"
266 >>> processing "deny"
267 >>>   message: reply_address=<$reply_address>
268 >>> deny: condition test succeeded in ACL "check_data"
269 LOG: 10HmaX-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
270 >>> processing "accept"
271 >>> accept: condition test succeeded in inline ACL
272 >>> host in ignore_fromline_hosts? no (option unset)
273 >>> using ACL "check_data"
274 >>> processing "warn"
275 >>> check logwrite = Subject is: "$h_subject:"
276 >>>                = Subject is: ""
277 LOG: 10HmaY-0005vi-00 Subject is: ""
278 >>> warn: condition test succeeded in ACL "check_data"
279 >>> processing "deny"
280 >>>   message: reply_address=<$reply_address>
281 >>> deny: condition test succeeded in ACL "check_data"
282 LOG: 10HmaY-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<a@b>
283 >>> processing "accept"
284 >>> accept: condition test succeeded in inline ACL
285 >>> host in ignore_fromline_hosts? no (option unset)
286 >>> using ACL "check_data"
287 >>> processing "warn"
288 >>> check logwrite = Subject is: "$h_subject:"
289 >>>                = Subject is: ""
290 LOG: 10HmaZ-0005vi-00 Subject is: ""
291 >>> warn: condition test succeeded in ACL "check_data"
292 >>> processing "deny"
293 >>>   message: reply_address=<$reply_address>
294 >>> deny: condition test succeeded in ACL "check_data"
295 LOG: 10HmaZ-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<c@d>
296 >>> processing "accept"
297 >>> accept: condition test succeeded in inline ACL
298 >>> host in ignore_fromline_hosts? no (option unset)
299 >>> using ACL "check_data"
300 >>> processing "warn"
301 >>> check logwrite = Subject is: "$h_subject:"
302 >>>                = Subject is: ""
303 LOG: 10HmbA-0005vi-00 Subject is: ""
304 >>> warn: condition test succeeded in ACL "check_data"
305 >>> processing "deny"
306 >>>   message: reply_address=<$reply_address>
307 >>> deny: condition test succeeded in ACL "check_data"
308 LOG: 10HmbA-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
309 >>> processing "accept"
310 >>> accept: condition test succeeded in inline ACL
311 >>> host in ignore_fromline_hosts? no (option unset)
312 >>> using ACL "check_data"
313 >>> processing "warn"
314 >>> check logwrite = Subject is: "$h_subject:"
315 >>>                = Subject is: ""
316 LOG: 10HmbB-0005vi-00 Subject is: ""
317 >>> warn: condition test succeeded in ACL "check_data"
318 >>> processing "deny"
319 >>>   message: reply_address=<$reply_address>
320 >>> deny: condition test succeeded in ACL "check_data"
321 LOG: 10HmbB-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<x@y>
322 >>> host in hosts_connection_nolog? no (option unset)
323 >>> host in host_lookup? no (option unset)
324 >>> host in host_reject_connection? no (option unset)
325 >>> host in sender_unqualified_hosts? no (option unset)
326 >>> host in recipient_unqualified_hosts? no (option unset)
327 >>> host in helo_verify_hosts? no (option unset)
328 >>> host in helo_try_verify_hosts? no (option unset)
329 >>> host in helo_accept_junk_hosts? no (option unset)
330 >>> using ACL "connect0"
331 >>> processing "accept"
332 >>> accept: condition test succeeded in ACL "connect0"
333 >>> processing "accept"
334 >>> accept: condition test succeeded in inline ACL
335 >>> host in ignore_fromline_hosts? no (option unset)
336 >>> using ACL "check_data"
337 >>> processing "warn"
338 >>> check logwrite = Subject is: "$h_subject:"
339 >>>                = Subject is: "=?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_it_will_go_over_the_75-char_limit_by_a_long_way=3B_in_fact_this_one_will_go_over_the_150_character_limit?="
340 LOG: 10HmbC-0005vi-00 Subject is: "=?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_it_will_go_over_the_75-char_limit_by_a_long_way=3B_in_fact_this_one_will_go_over_the_150_character_limit?="
341 >>> warn: condition test succeeded in ACL "check_data"
342 >>> processing "deny"
343 >>>   message: reply_address=<$reply_address>
344 >>> deny: condition test succeeded in ACL "check_data"
345 LOG: 10HmbC-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
346 >>> host in hosts_connection_nolog? no (option unset)
347 >>> host in host_lookup? no (option unset)
348 >>> host in host_reject_connection? no (option unset)
349 >>> host in sender_unqualified_hosts? no (option unset)
350 >>> host in recipient_unqualified_hosts? no (option unset)
351 >>> host in helo_verify_hosts? no (option unset)
352 >>> host in helo_try_verify_hosts? no (option unset)
353 >>> host in helo_accept_junk_hosts? no (option unset)
354 >>> using ACL "connect0"
355 >>> processing "accept"
356 >>> accept: condition test succeeded in ACL "connect0"
357 >>> processing "accept"
358 >>> accept: condition test succeeded in inline ACL
359 >>> host in ignore_fromline_hosts? no (option unset)
360 >>> using ACL "check_data"
361 >>> processing "warn"
362 >>> check logwrite = Subject is: "$h_subject:"
363 >>>                = Subject is: " 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"
364 LOG: 10HmbD-0005vi-00 Subject is: " 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"
365 >>> warn: condition test succeeded in ACL "check_data"
366 >>> processing "deny"
367 >>>   message: reply_address=<$reply_address>
368 >>> deny: condition test succeeded in ACL "check_data"
369 LOG: 10HmbD-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
370 Exim version x.yz ....
371 changed uid/gid: -C, -D, -be or -bf forces real uid
372   uid=CALLER_UID gid=CALLER_GID pid=pppp
373 PATH in keep_environment? no (end of list)
374 PWD in keep_environment? no (end of list)
375 SHELL in keep_environment? no (end of list)
376 TERM in keep_environment? no (end of list)
377 USER in keep_environment? yes (matched "USER")
378 configuration file is TESTSUITE/test-config
379 admin user
380 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
381 sender address = CALLER@myhost.test.ex
382 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask)
383 1.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask)
384 search_tidyup called
385 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>