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