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