OpenSSL: Fix client-side tls_verify_cert_hostnames behaviour
[users/heiko/exim.git] / test / stderr / 5410
1 Exim version x.yz ....
2 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
3 configuration file is TESTSUITE/test-config
4 admin user
5  in hosts_connection_nolog? no (option unset)
6 LOG: smtp_connection MAIN
7   SMTP connection from CALLER
8  ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
9  ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
10  ╰─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
11  in dsn_advertise_hosts? no (option unset)
12  in pipelining_advertise_hosts? yes (matched "*")
13  in chunking_advertise_hosts? no (end of list)
14  in tls_advertise_hosts? yes (matched "*")
15  ╭considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
16   ╭considering: SERVER}{server}{queue}{cutthrough}}
17   ├──expanding: SERVER
18   ╰─────result: SERVER
19   ╭considering: server}{queue}{cutthrough}}
20   ├──expanding: server
21   ╰─────result: server
22  ├──condition: eq {SERVER}{server}
23  ├─────result: false
24   ╭───scanning: queue}{cutthrough}}
25   ├──expanding: queue
26   ├─────result: queue
27   ╰───skipping: result is not used
28   ╭considering: cutthrough}}
29   ├──expanding: cutthrough
30   ╰─────result: cutthrough
31  ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
32  ╰─────result: cutthrough
33 using ACL "cutthrough"
34 processing "accept" (TESTSUITE/test-config 22)
35 check control = cutthrough_delivery
36 check verify = recipient
37 domain.com in "test.ex : *.test.ex"? no (end of list)
38 domain.com in "! +local_domains"? yes (end of list)
39  ╭considering: $local_part
40  ├──expanding: $local_part
41  ╰─────result: userx
42             ╰──(tainted)
43 domain.com in "*"? yes (matched "*")
44 ----------- end verify ------------
45 accept: condition test succeeded in ACL "cutthrough"
46 end of ACL "cutthrough": ACCEPT
47 ----------- start cutthrough setup ------------
48 domain.com in "test.ex : *.test.ex"? no (end of list)
49 domain.com in "! +local_domains"? yes (end of list)
50  ╭considering: $local_part
51  ├──expanding: $local_part
52  ╰─────result: userx
53             ╰──(tainted)
54 domain.com in "*"? yes (matched "*")
55 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ...  connected
56  ╭considering: $primary_hostname
57  ├──expanding: $primary_hostname
58  ╰─────result: myhost.test.ex
59   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
60 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
61   SMTP>> EHLO myhost.test.ex
62 cmd buf flush ddd bytes
63   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
64          250-SIZE 52428800
65          250-8BITMIME
66          250-PIPELINING
67          250-STARTTLS
68          250 HELP
69  ╭considering: ${if eq {$address_data}{usery}{*}{:}}
70   ╭considering: $address_data}{usery}{*}{:}}
71   ├──expanding: $address_data
72   ╰─────result: userx
73              ╰──(tainted)
74   ╭considering: usery}{*}{:}}
75   ├──expanding: usery
76   ╰─────result: usery
77  ├──condition: eq {$address_data}{usery}
78  ├─────result: false
79   ╭───scanning: *}{:}}
80   ├──expanding: *
81   ├─────result: *
82   ╰───skipping: result is not used
83   ╭considering: :}}
84   ├──expanding: :
85   ╰─────result: :
86  ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
87  ╰─────result: :
88 127.0.0.1 in hosts_avoid_tls? no (end of list)
89  ╭considering: ${if eq {$address_data}{userz}{*}{:}}
90   ╭considering: $address_data}{userz}{*}{:}}
91   ├──expanding: $address_data
92   ╰─────result: userx
93              ╰──(tainted)
94   ╭considering: userz}{*}{:}}
95   ├──expanding: userz
96   ╰─────result: userz
97  ├──condition: eq {$address_data}{userz}
98  ├─────result: false
99   ╭───scanning: *}{:}}
100   ├──expanding: *
101   ├─────result: *
102   ╰───skipping: result is not used
103   ╭considering: :}}
104   ├──expanding: :
105   ╰─────result: :
106  ├──expanding: ${if eq {$address_data}{userz}{*}{:}}
107  ╰─────result: :
108 127.0.0.1 in hosts_verify_avoid_tls? no (end of list)
109   SMTP>> STARTTLS
110 cmd buf flush ddd bytes
111   SMTP<< 220 TLS go ahead
112 127.0.0.1 in tls_verify_hosts? no (option unset)
113 127.0.0.1 in tls_try_verify_hosts? yes (matched "*")
114   SMTP>> EHLO myhost.test.ex
115 cmd buf flush ddd bytes
116   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
117          250-SIZE 52428800
118          250-8BITMIME
119          250-PIPELINING
120          250 HELP
121 127.0.0.1 in hosts_avoid_pipelining? no (option unset)
122 using PIPELINING
123 not using DSN
124 127.0.0.1 in hosts_require_auth? no (option unset)
125   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
126   SMTP>> RCPT TO:<userx@domain.com>
127 cmd buf flush ddd bytes
128 sync_responses expect mail
129   SMTP<< 250 OK
130 sync_responses expect rcpt
131   SMTP<< 250 Accepted
132 holding verify callout open for cutthrough delivery
133 ----------- end cutthrough setup ------------
134 processing "accept" (TESTSUITE/test-config 57)
135 accept: condition test succeeded in inline ACL
136 end of inline ACL: ACCEPT
137   SMTP>> DATA
138   SMTP<< 354 Enter message, ending with "." on a line by itself
139  ╭considering: ${tod_full}
140  ├──expanding: ${tod_full}
141  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
142  ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
143         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
144         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
145         }}(Exim $version_number)
146         ${if def:sender_address {(envelope-from <$sender_address>)
147         }}id $message_exim_id${if def:received_for {
148         for $received_for}}
149  ├──condition: def:sender_rcvhost
150  ├─────result: false
151   ╭───scanning: from $sender_rcvhost
152         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
153         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
154         }}(Exim $version_number)
155         ${if def:sender_address {(envelope-from <$sender_address>)
156         }}id $message_exim_id${if def:received_for {
157         for $received_for}}
158   ├──expanding: from $sender_rcvhost
159         
160   ├─────result: from 
161         
162   ╰───skipping: result is not used
163   ╭considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
164         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
165         }}(Exim $version_number)
166         ${if def:sender_address {(envelope-from <$sender_address>)
167         }}id $message_exim_id${if def:received_for {
168         for $received_for}}
169   ├──condition: def:sender_ident
170   ├─────result: true
171    ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
172         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
173         }}(Exim $version_number)
174         ${if def:sender_address {(envelope-from <$sender_address>)
175         }}id $message_exim_id${if def:received_for {
176         for $received_for}}
177    ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
178    ╎  }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
179    ╎  }}(Exim $version_number)
180    ╎  ${if def:sender_address {(envelope-from <$sender_address>)
181    ╎  }}id $message_exim_id${if def:received_for {
182    ╎  for $received_for}}
183    ╎├──expanding: $sender_ident
184    ╎╰─────result: CALLER
185    ├──expanding: from ${quote_local_part:$sender_ident} 
186    ╰─────result: from CALLER 
187   ├──condition: def:sender_helo_name
188   ├─────result: true
189    ╭considering: (helo=$sender_helo_name)
190         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
191         }}(Exim $version_number)
192         ${if def:sender_address {(envelope-from <$sender_address>)
193         }}id $message_exim_id${if def:received_for {
194         for $received_for}}
195    ├──expanding: (helo=$sender_helo_name)
196         
197    ╰─────result: (helo=myhost.test.ex)
198         
199               ╰──(tainted)
200   ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
201         }}
202   ╰─────result: from CALLER (helo=myhost.test.ex)
203         
204              ╰──(tainted)
205  ├──condition: def:received_protocol
206  ├─────result: true
207   ╭considering: with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
208         }}(Exim $version_number)
209         ${if def:sender_address {(envelope-from <$sender_address>)
210         }}id $message_exim_id${if def:received_for {
211         for $received_for}}
212   ├──expanding: with $received_protocol 
213   ╰─────result: with local-esmtp 
214  ├──condition: def:tls_in_ver
215  ├─────result: false
216   ╭───scanning:  ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
217         }}(Exim $version_number)
218         ${if def:sender_address {(envelope-from <$sender_address>)
219         }}id $message_exim_id${if def:received_for {
220         for $received_for}}
221   ├──expanding:  ($tls_in_ver)
222   ├─────result:  ()
223   ╰───skipping: result is not used
224  ├──condition: def:sender_address
225  ├─────result: true
226   ╭considering: (envelope-from <$sender_address>)
227         }}id $message_exim_id${if def:received_for {
228         for $received_for}}
229   ├──expanding: (envelope-from <$sender_address>)
230         
231   ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
232         
233  ├──condition: def:received_for
234  ├─────result: true
235   ╭considering: 
236         for $received_for}}
237   ├──expanding: 
238         for $received_for
239   ╰─────result: 
240         for userx@domain.com
241              ╰──(tainted)
242  ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
243         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
244         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
245         }}(Exim $version_number)
246         ${if def:sender_address {(envelope-from <$sender_address>)
247         }}id $message_exim_id${if def:received_for {
248         for $received_for}}
249  ╰─────result: Received: from CALLER (helo=myhost.test.ex)
250         by myhost.test.ex with local-esmtp (Exim x.yz)
251         (envelope-from <CALLER@myhost.test.ex>)
252         id 10HmaX-0005vi-00
253         for userx@domain.com
254             ╰──(tainted)
255 ----------- start cutthrough headers send -----------
256 ----------- done cutthrough headers send ------------
257  ╭considering: ${tod_full}
258  ├──expanding: ${tod_full}
259  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
260   SMTP>> .
261   SMTP<< 250 OK id=10HmaY-0005vi-00
262 LOG: MAIN
263   >> userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no C="250 OK id=10HmaY-0005vi-00"
264   SMTP>> QUIT
265   SMTP<< 221 myhost.test.ex closing connection
266   SMTP(close)>>
267 ----------- cutthrough shutdown (delivered) ------------
268 LOG: MAIN
269   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
270 LOG: MAIN
271   Completed
272 LOG: smtp_connection MAIN
273   SMTP connection from CALLER closed by QUIT
274 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
275 Exim version x.yz ....
276 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
277 configuration file is TESTSUITE/test-config
278 admin user
279  in hosts_connection_nolog? no (option unset)
280 LOG: smtp_connection MAIN
281   SMTP connection from CALLER
282  ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
283  ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
284  ╰─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
285  in dsn_advertise_hosts? no (option unset)
286  in pipelining_advertise_hosts? yes (matched "*")
287  in chunking_advertise_hosts? no (end of list)
288  in tls_advertise_hosts? yes (matched "*")
289  ╭considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
290   ╭considering: SERVER}{server}{queue}{cutthrough}}
291   ├──expanding: SERVER
292   ╰─────result: SERVER
293   ╭considering: server}{queue}{cutthrough}}
294   ├──expanding: server
295   ╰─────result: server
296  ├──condition: eq {SERVER}{server}
297  ├─────result: false
298   ╭───scanning: queue}{cutthrough}}
299   ├──expanding: queue
300   ├─────result: queue
301   ╰───skipping: result is not used
302   ╭considering: cutthrough}}
303   ├──expanding: cutthrough
304   ╰─────result: cutthrough
305  ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
306  ╰─────result: cutthrough
307 using ACL "cutthrough"
308 processing "accept" (TESTSUITE/test-config 22)
309 check control = cutthrough_delivery
310 check verify = recipient
311 domain.com in "test.ex : *.test.ex"? no (end of list)
312 domain.com in "! +local_domains"? yes (end of list)
313  ╭considering: $local_part
314  ├──expanding: $local_part
315  ╰─────result: usery
316             ╰──(tainted)
317 domain.com in "*"? yes (matched "*")
318 ----------- end verify ------------
319 accept: condition test succeeded in ACL "cutthrough"
320 end of ACL "cutthrough": ACCEPT
321 ----------- start cutthrough setup ------------
322 domain.com in "test.ex : *.test.ex"? no (end of list)
323 domain.com in "! +local_domains"? yes (end of list)
324  ╭considering: $local_part
325  ├──expanding: $local_part
326  ╰─────result: usery
327             ╰──(tainted)
328 domain.com in "*"? yes (matched "*")
329 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ...  connected
330  ╭considering: $primary_hostname
331  ├──expanding: $primary_hostname
332  ╰─────result: myhost.test.ex
333   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
334 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
335   SMTP>> EHLO myhost.test.ex
336 cmd buf flush ddd bytes
337   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
338          250-SIZE 52428800
339          250-8BITMIME
340          250-PIPELINING
341          250-STARTTLS
342          250 HELP
343  ╭considering: ${if eq {$address_data}{usery}{*}{:}}
344   ╭considering: $address_data}{usery}{*}{:}}
345   ├──expanding: $address_data
346   ╰─────result: usery
347              ╰──(tainted)
348   ╭considering: usery}{*}{:}}
349   ├──expanding: usery
350   ╰─────result: usery
351  ├──condition: eq {$address_data}{usery}
352  ├─────result: true
353   ╭considering: *}{:}}
354   ├──expanding: *
355   ╰─────result: *
356   ╭───scanning: :}}
357   ├──expanding: :
358   ├─────result: :
359   ╰───skipping: result is not used
360  ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
361  ╰─────result: *
362 127.0.0.1 in hosts_avoid_tls? yes (matched "*")
363 127.0.0.1 in hosts_avoid_pipelining? no (option unset)
364 using PIPELINING
365 not using DSN
366 127.0.0.1 in hosts_require_auth? no (option unset)
367   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
368   SMTP>> RCPT TO:<usery@domain.com>
369 cmd buf flush ddd bytes
370 sync_responses expect mail
371   SMTP<< 250 OK
372 sync_responses expect rcpt
373   SMTP<< 250 Accepted
374 holding verify callout open for cutthrough delivery
375 ----------- end cutthrough setup ------------
376 processing "accept" (TESTSUITE/test-config 57)
377 accept: condition test succeeded in inline ACL
378 end of inline ACL: ACCEPT
379   SMTP>> DATA
380   SMTP<< 354 Enter message, ending with "." on a line by itself
381  ╭considering: ${tod_full}
382  ├──expanding: ${tod_full}
383  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
384  ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
385         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
386         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
387         }}(Exim $version_number)
388         ${if def:sender_address {(envelope-from <$sender_address>)
389         }}id $message_exim_id${if def:received_for {
390         for $received_for}}
391  ├──condition: def:sender_rcvhost
392  ├─────result: false
393   ╭───scanning: from $sender_rcvhost
394         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
395         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
396         }}(Exim $version_number)
397         ${if def:sender_address {(envelope-from <$sender_address>)
398         }}id $message_exim_id${if def:received_for {
399         for $received_for}}
400   ├──expanding: from $sender_rcvhost
401         
402   ├─────result: from 
403         
404   ╰───skipping: result is not used
405   ╭considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
406         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
407         }}(Exim $version_number)
408         ${if def:sender_address {(envelope-from <$sender_address>)
409         }}id $message_exim_id${if def:received_for {
410         for $received_for}}
411   ├──condition: def:sender_ident
412   ├─────result: true
413    ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
414         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
415         }}(Exim $version_number)
416         ${if def:sender_address {(envelope-from <$sender_address>)
417         }}id $message_exim_id${if def:received_for {
418         for $received_for}}
419    ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
420    ╎  }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
421    ╎  }}(Exim $version_number)
422    ╎  ${if def:sender_address {(envelope-from <$sender_address>)
423    ╎  }}id $message_exim_id${if def:received_for {
424    ╎  for $received_for}}
425    ╎├──expanding: $sender_ident
426    ╎╰─────result: CALLER
427    ├──expanding: from ${quote_local_part:$sender_ident} 
428    ╰─────result: from CALLER 
429   ├──condition: def:sender_helo_name
430   ├─────result: true
431    ╭considering: (helo=$sender_helo_name)
432         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
433         }}(Exim $version_number)
434         ${if def:sender_address {(envelope-from <$sender_address>)
435         }}id $message_exim_id${if def:received_for {
436         for $received_for}}
437    ├──expanding: (helo=$sender_helo_name)
438         
439    ╰─────result: (helo=myhost.test.ex)
440         
441               ╰──(tainted)
442   ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
443         }}
444   ╰─────result: from CALLER (helo=myhost.test.ex)
445         
446              ╰──(tainted)
447  ├──condition: def:received_protocol
448  ├─────result: true
449   ╭considering: with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
450         }}(Exim $version_number)
451         ${if def:sender_address {(envelope-from <$sender_address>)
452         }}id $message_exim_id${if def:received_for {
453         for $received_for}}
454   ├──expanding: with $received_protocol 
455   ╰─────result: with local-esmtp 
456  ├──condition: def:tls_in_ver
457  ├─────result: false
458   ╭───scanning:  ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
459         }}(Exim $version_number)
460         ${if def:sender_address {(envelope-from <$sender_address>)
461         }}id $message_exim_id${if def:received_for {
462         for $received_for}}
463   ├──expanding:  ($tls_in_ver)
464   ├─────result:  ()
465   ╰───skipping: result is not used
466  ├──condition: def:sender_address
467  ├─────result: true
468   ╭considering: (envelope-from <$sender_address>)
469         }}id $message_exim_id${if def:received_for {
470         for $received_for}}
471   ├──expanding: (envelope-from <$sender_address>)
472         
473   ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
474         
475  ├──condition: def:received_for
476  ├─────result: true
477   ╭considering: 
478         for $received_for}}
479   ├──expanding: 
480         for $received_for
481   ╰─────result: 
482         for usery@domain.com
483              ╰──(tainted)
484  ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
485         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
486         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
487         }}(Exim $version_number)
488         ${if def:sender_address {(envelope-from <$sender_address>)
489         }}id $message_exim_id${if def:received_for {
490         for $received_for}}
491  ╰─────result: Received: from CALLER (helo=myhost.test.ex)
492         by myhost.test.ex with local-esmtp (Exim x.yz)
493         (envelope-from <CALLER@myhost.test.ex>)
494         id 10HmaZ-0005vi-00
495         for usery@domain.com
496             ╰──(tainted)
497 ----------- start cutthrough headers send -----------
498 ----------- done cutthrough headers send ------------
499  ╭considering: ${tod_full}
500  ├──expanding: ${tod_full}
501  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
502   SMTP>> .
503   SMTP<< 250 OK id=10HmbA-0005vi-00
504 LOG: MAIN
505   >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbA-0005vi-00"
506   SMTP>> QUIT
507   SMTP<< 221 myhost.test.ex closing connection
508   SMTP(close)>>
509 ----------- cutthrough shutdown (delivered) ------------
510 LOG: MAIN
511   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
512 LOG: MAIN
513   Completed
514 LOG: smtp_connection MAIN
515   SMTP connection from CALLER closed by QUIT
516 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
517 Exim version x.yz ....
518 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
519 configuration file is TESTSUITE/test-config
520 admin user
521  in hosts_connection_nolog? no (option unset)
522 LOG: smtp_connection MAIN
523   SMTP connection from CALLER
524  ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
525  ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
526  ╰─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
527  in dsn_advertise_hosts? no (option unset)
528  in pipelining_advertise_hosts? yes (matched "*")
529  in chunking_advertise_hosts? no (end of list)
530  in tls_advertise_hosts? yes (matched "*")
531  ╭considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
532   ╭considering: SERVER}{server}{queue}{cutthrough}}
533   ├──expanding: SERVER
534   ╰─────result: SERVER
535   ╭considering: server}{queue}{cutthrough}}
536   ├──expanding: server
537   ╰─────result: server
538  ├──condition: eq {SERVER}{server}
539  ├─────result: false
540   ╭───scanning: queue}{cutthrough}}
541   ├──expanding: queue
542   ├─────result: queue
543   ╰───skipping: result is not used
544   ╭considering: cutthrough}}
545   ├──expanding: cutthrough
546   ╰─────result: cutthrough
547  ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
548  ╰─────result: cutthrough
549 using ACL "cutthrough"
550 processing "accept" (TESTSUITE/test-config 22)
551 check control = cutthrough_delivery
552 check verify = recipient
553 domain.com in "test.ex : *.test.ex"? no (end of list)
554 domain.com in "! +local_domains"? yes (end of list)
555  ╭considering: $local_part
556  ├──expanding: $local_part
557  ╰─────result: usery
558             ╰──(tainted)
559 domain.com in "*"? yes (matched "*")
560 ----------- end verify ------------
561 accept: condition test succeeded in ACL "cutthrough"
562 end of ACL "cutthrough": ACCEPT
563 ----------- start cutthrough setup ------------
564 domain.com in "test.ex : *.test.ex"? no (end of list)
565 domain.com in "! +local_domains"? yes (end of list)
566  ╭considering: $local_part
567  ├──expanding: $local_part
568  ╰─────result: usery
569             ╰──(tainted)
570 domain.com in "*"? yes (matched "*")
571 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ...  connected
572  ╭considering: $primary_hostname
573  ├──expanding: $primary_hostname
574  ╰─────result: myhost.test.ex
575   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
576 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
577   SMTP>> EHLO myhost.test.ex
578 cmd buf flush ddd bytes
579   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
580          250-SIZE 52428800
581          250-8BITMIME
582          250-PIPELINING
583          250-STARTTLS
584          250 HELP
585  ╭considering: ${if eq {$address_data}{usery}{*}{:}}
586   ╭considering: $address_data}{usery}{*}{:}}
587   ├──expanding: $address_data
588   ╰─────result: usery
589              ╰──(tainted)
590   ╭considering: usery}{*}{:}}
591   ├──expanding: usery
592   ╰─────result: usery
593  ├──condition: eq {$address_data}{usery}
594  ├─────result: true
595   ╭considering: *}{:}}
596   ├──expanding: *
597   ╰─────result: *
598   ╭───scanning: :}}
599   ├──expanding: :
600   ├─────result: :
601   ╰───skipping: result is not used
602  ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
603  ╰─────result: *
604 127.0.0.1 in hosts_avoid_tls? yes (matched "*")
605 127.0.0.1 in hosts_avoid_pipelining? no (option unset)
606 using PIPELINING
607 not using DSN
608 127.0.0.1 in hosts_require_auth? no (option unset)
609   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
610   SMTP>> RCPT TO:<usery@domain.com>
611 cmd buf flush ddd bytes
612 sync_responses expect mail
613   SMTP<< 250 OK
614 sync_responses expect rcpt
615   SMTP<< 250 Accepted
616 holding verify callout open for cutthrough delivery
617 ----------- end cutthrough setup ------------
618 processing "accept" (TESTSUITE/test-config 57)
619 accept: condition test succeeded in inline ACL
620 end of inline ACL: ACCEPT
621   SMTP>> DATA
622   SMTP<< 354 Enter message, ending with "." on a line by itself
623  ╭considering: ${tod_full}
624  ├──expanding: ${tod_full}
625  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
626  ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
627         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
628         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
629         }}(Exim $version_number)
630         ${if def:sender_address {(envelope-from <$sender_address>)
631         }}id $message_exim_id${if def:received_for {
632         for $received_for}}
633  ├──condition: def:sender_rcvhost
634  ├─────result: false
635   ╭───scanning: from $sender_rcvhost
636         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
637         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
638         }}(Exim $version_number)
639         ${if def:sender_address {(envelope-from <$sender_address>)
640         }}id $message_exim_id${if def:received_for {
641         for $received_for}}
642   ├──expanding: from $sender_rcvhost
643         
644   ├─────result: from 
645         
646   ╰───skipping: result is not used
647   ╭considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
648         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
649         }}(Exim $version_number)
650         ${if def:sender_address {(envelope-from <$sender_address>)
651         }}id $message_exim_id${if def:received_for {
652         for $received_for}}
653   ├──condition: def:sender_ident
654   ├─────result: true
655    ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
656         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
657         }}(Exim $version_number)
658         ${if def:sender_address {(envelope-from <$sender_address>)
659         }}id $message_exim_id${if def:received_for {
660         for $received_for}}
661    ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
662    ╎  }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
663    ╎  }}(Exim $version_number)
664    ╎  ${if def:sender_address {(envelope-from <$sender_address>)
665    ╎  }}id $message_exim_id${if def:received_for {
666    ╎  for $received_for}}
667    ╎├──expanding: $sender_ident
668    ╎╰─────result: CALLER
669    ├──expanding: from ${quote_local_part:$sender_ident} 
670    ╰─────result: from CALLER 
671   ├──condition: def:sender_helo_name
672   ├─────result: true
673    ╭considering: (helo=$sender_helo_name)
674         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
675         }}(Exim $version_number)
676         ${if def:sender_address {(envelope-from <$sender_address>)
677         }}id $message_exim_id${if def:received_for {
678         for $received_for}}
679    ├──expanding: (helo=$sender_helo_name)
680         
681    ╰─────result: (helo=myhost.test.ex)
682         
683               ╰──(tainted)
684   ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
685         }}
686   ╰─────result: from CALLER (helo=myhost.test.ex)
687         
688              ╰──(tainted)
689  ├──condition: def:received_protocol
690  ├─────result: true
691   ╭considering: with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
692         }}(Exim $version_number)
693         ${if def:sender_address {(envelope-from <$sender_address>)
694         }}id $message_exim_id${if def:received_for {
695         for $received_for}}
696   ├──expanding: with $received_protocol 
697   ╰─────result: with local-esmtp 
698  ├──condition: def:tls_in_ver
699  ├─────result: false
700   ╭───scanning:  ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
701         }}(Exim $version_number)
702         ${if def:sender_address {(envelope-from <$sender_address>)
703         }}id $message_exim_id${if def:received_for {
704         for $received_for}}
705   ├──expanding:  ($tls_in_ver)
706   ├─────result:  ()
707   ╰───skipping: result is not used
708  ├──condition: def:sender_address
709  ├─────result: true
710   ╭considering: (envelope-from <$sender_address>)
711         }}id $message_exim_id${if def:received_for {
712         for $received_for}}
713   ├──expanding: (envelope-from <$sender_address>)
714         
715   ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
716         
717  ├──condition: def:received_for
718  ├─────result: true
719   ╭considering: 
720         for $received_for}}
721   ├──expanding: 
722         for $received_for
723   ╰─────result: 
724         for usery@domain.com
725              ╰──(tainted)
726  ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
727         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
728         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_ver        { ($tls_in_ver)}}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
729         }}(Exim $version_number)
730         ${if def:sender_address {(envelope-from <$sender_address>)
731         }}id $message_exim_id${if def:received_for {
732         for $received_for}}
733  ╰─────result: Received: from CALLER (helo=myhost.test.ex)
734         by myhost.test.ex with local-esmtp (Exim x.yz)
735         (envelope-from <CALLER@myhost.test.ex>)
736         id 10HmbB-0005vi-00
737         for usery@domain.com
738             ╰──(tainted)
739 ----------- start cutthrough headers send -----------
740 ----------- done cutthrough headers send ------------
741  ╭considering: ${tod_full}
742  ├──expanding: ${tod_full}
743  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
744   SMTP>> .
745   SMTP<< 250 OK id=10HmbC-0005vi-00
746 LOG: MAIN
747   >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbC-0005vi-00"
748   SMTP>> QUIT
749   SMTP<< 221 myhost.test.ex closing connection
750   SMTP(close)>>
751 ----------- cutthrough shutdown (delivered) ------------
752 LOG: MAIN
753   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
754 LOG: MAIN
755   Completed
756 LOG: smtp_connection MAIN
757   SMTP connection from CALLER closed by QUIT
758 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
759
760 ******** SERVER ********