Track tainted data and refuse to expand it
[exim.git] / test / stderr / 5410
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? no (end of list)
113   SMTP>> EHLO myhost.test.ex
114 cmd buf flush ddd bytes
115   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
116          250-SIZE 52428800
117          250-8BITMIME
118          250-PIPELINING
119          250 HELP
120 127.0.0.1 in hosts_avoid_pipelining? no (option unset)
121 using PIPELINING
122 not using DSN
123 127.0.0.1 in hosts_require_auth? no (option unset)
124   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
125   SMTP>> RCPT TO:<userx@domain.com>
126 cmd buf flush ddd bytes
127 sync_responses expect mail
128   SMTP<< 250 OK
129 sync_responses expect rcpt
130   SMTP<< 250 Accepted
131 holding verify callout open for cutthrough delivery
132 ----------- end cutthrough setup ------------
133 processing "accept" (TESTSUITE/test-config 55)
134 accept: condition test succeeded in inline ACL
135 end of inline ACL: ACCEPT
136   SMTP>> DATA
137   SMTP<< 354 Enter message, ending with "." on a line by itself
138  ╭considering: ${tod_full}
139  ├──expanding: ${tod_full}
140  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
141  ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
142         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
143         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
144         }}(Exim $version_number)
145         ${if def:sender_address {(envelope-from <$sender_address>)
146         }}id $message_exim_id${if def:received_for {
147         for $received_for}}
148  ├──condition: def:sender_rcvhost
149  ├─────result: false
150   ╭───scanning: from $sender_rcvhost
151         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
152         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
153         }}(Exim $version_number)
154         ${if def:sender_address {(envelope-from <$sender_address>)
155         }}id $message_exim_id${if def:received_for {
156         for $received_for}}
157   ├──expanding: from $sender_rcvhost
158         
159   ├─────result: from 
160         
161   ╰───skipping: result is not used
162   ╭considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
163         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
164         }}(Exim $version_number)
165         ${if def:sender_address {(envelope-from <$sender_address>)
166         }}id $message_exim_id${if def:received_for {
167         for $received_for}}
168   ├──condition: def:sender_ident
169   ├─────result: true
170    ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
171         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
172         }}(Exim $version_number)
173         ${if def:sender_address {(envelope-from <$sender_address>)
174         }}id $message_exim_id${if def:received_for {
175         for $received_for}}
176    ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
177    ╎  }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
178    ╎  }}(Exim $version_number)
179    ╎  ${if def:sender_address {(envelope-from <$sender_address>)
180    ╎  }}id $message_exim_id${if def:received_for {
181    ╎  for $received_for}}
182    ╎├──expanding: $sender_ident
183    ╎╰─────result: CALLER
184    ├──expanding: from ${quote_local_part:$sender_ident} 
185    ╰─────result: from CALLER 
186   ├──condition: def:sender_helo_name
187   ├─────result: true
188    ╭considering: (helo=$sender_helo_name)
189         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
190         }}(Exim $version_number)
191         ${if def:sender_address {(envelope-from <$sender_address>)
192         }}id $message_exim_id${if def:received_for {
193         for $received_for}}
194    ├──expanding: (helo=$sender_helo_name)
195         
196    ╰─────result: (helo=myhost.test.ex)
197         
198               ╰──(tainted)
199   ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
200         }}
201   ╰─────result: from CALLER (helo=myhost.test.ex)
202         
203              ╰──(tainted)
204  ├──condition: def:received_protocol
205  ├─────result: true
206   ╭considering: with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
207         }}(Exim $version_number)
208         ${if def:sender_address {(envelope-from <$sender_address>)
209         }}id $message_exim_id${if def:received_for {
210         for $received_for}}
211   ├──expanding: with $received_protocol 
212   ╰─────result: with local-esmtp 
213  ├──condition: def:tls_in_cipher_std
214  ├─────result: false
215   ╭───scanning:  tls $tls_in_cipher_std
216         }}(Exim $version_number)
217         ${if def:sender_address {(envelope-from <$sender_address>)
218         }}id $message_exim_id${if def:received_for {
219         for $received_for}}
220   ├──expanding:  tls $tls_in_cipher_std
221         
222   ├─────result:  tls 
223         
224   ╰───skipping: result is not used
225  ├──condition: def:sender_address
226  ├─────result: true
227   ╭considering: (envelope-from <$sender_address>)
228         }}id $message_exim_id${if def:received_for {
229         for $received_for}}
230   ├──expanding: (envelope-from <$sender_address>)
231         
232   ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
233         
234  ├──condition: def:received_for
235  ├─────result: true
236   ╭considering: 
237         for $received_for}}
238   ├──expanding: 
239         for $received_for
240   ╰─────result: 
241         for userx@domain.com
242              ╰──(tainted)
243  ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
244         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
245         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
246         }}(Exim $version_number)
247         ${if def:sender_address {(envelope-from <$sender_address>)
248         }}id $message_exim_id${if def:received_for {
249         for $received_for}}
250  ╰─────result: Received: from CALLER (helo=myhost.test.ex)
251         by myhost.test.ex with local-esmtp (Exim x.yz)
252         (envelope-from <CALLER@myhost.test.ex>)
253         id 10HmaX-0005vi-00
254         for userx@domain.com
255             ╰──(tainted)
256 ----------- start cutthrough headers send -----------
257 ----------- done cutthrough headers send ------------
258  ╭considering: ${tod_full}
259  ├──expanding: ${tod_full}
260  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
261   SMTP>> .
262   SMTP<< 250 OK id=10HmaY-0005vi-00
263 LOG: MAIN
264   >> 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"
265   SMTP>> QUIT
266   SMTP<< 221 myhost.test.ex closing connection
267   SMTP(close)>>
268 ----------- cutthrough shutdown (delivered) ------------
269 LOG: MAIN
270   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
271 LOG: MAIN
272   Completed
273 LOG: smtp_connection MAIN
274   SMTP connection from CALLER closed by QUIT
275 >>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
276 Exim version x.yz ....
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 55)
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_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_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_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_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_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_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_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_cipher_std
457  ├─────result: false
458   ╭───scanning:  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 $tls_in_cipher_std
464         
465   ├─────result:  tls 
466         
467   ╰───skipping: result is not used
468  ├──condition: def:sender_address
469  ├─────result: true
470   ╭considering: (envelope-from <$sender_address>)
471         }}id $message_exim_id${if def:received_for {
472         for $received_for}}
473   ├──expanding: (envelope-from <$sender_address>)
474         
475   ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
476         
477  ├──condition: def:received_for
478  ├─────result: true
479   ╭considering: 
480         for $received_for}}
481   ├──expanding: 
482         for $received_for
483   ╰─────result: 
484         for usery@domain.com
485              ╰──(tainted)
486  ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
487         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
488         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
489         }}(Exim $version_number)
490         ${if def:sender_address {(envelope-from <$sender_address>)
491         }}id $message_exim_id${if def:received_for {
492         for $received_for}}
493  ╰─────result: Received: from CALLER (helo=myhost.test.ex)
494         by myhost.test.ex with local-esmtp (Exim x.yz)
495         (envelope-from <CALLER@myhost.test.ex>)
496         id 10HmaZ-0005vi-00
497         for usery@domain.com
498             ╰──(tainted)
499 ----------- start cutthrough headers send -----------
500 ----------- done cutthrough headers send ------------
501  ╭considering: ${tod_full}
502  ├──expanding: ${tod_full}
503  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
504   SMTP>> .
505   SMTP<< 250 OK id=10HmbA-0005vi-00
506 LOG: MAIN
507   >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbA-0005vi-00"
508   SMTP>> QUIT
509   SMTP<< 221 myhost.test.ex closing connection
510   SMTP(close)>>
511 ----------- cutthrough shutdown (delivered) ------------
512 LOG: MAIN
513   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
514 LOG: MAIN
515   Completed
516 LOG: smtp_connection MAIN
517   SMTP connection from CALLER closed by QUIT
518 >>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
519 Exim version x.yz ....
520 configuration file is TESTSUITE/test-config
521 admin user
522  in hosts_connection_nolog? no (option unset)
523 LOG: smtp_connection MAIN
524   SMTP connection from CALLER
525  ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
526  ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
527  ╰─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
528  in dsn_advertise_hosts? no (option unset)
529  in pipelining_advertise_hosts? yes (matched "*")
530  in chunking_advertise_hosts? no (end of list)
531  in tls_advertise_hosts? yes (matched "*")
532  ╭considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
533   ╭considering: SERVER}{server}{queue}{cutthrough}}
534   ├──expanding: SERVER
535   ╰─────result: SERVER
536   ╭considering: server}{queue}{cutthrough}}
537   ├──expanding: server
538   ╰─────result: server
539  ├──condition: eq {SERVER}{server}
540  ├─────result: false
541   ╭───scanning: queue}{cutthrough}}
542   ├──expanding: queue
543   ├─────result: queue
544   ╰───skipping: result is not used
545   ╭considering: cutthrough}}
546   ├──expanding: cutthrough
547   ╰─────result: cutthrough
548  ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
549  ╰─────result: cutthrough
550 using ACL "cutthrough"
551 processing "accept" (TESTSUITE/test-config 22)
552 check control = cutthrough_delivery
553 check verify = recipient
554 domain.com in "test.ex : *.test.ex"? no (end of list)
555 domain.com in "! +local_domains"? yes (end of list)
556  ╭considering: $local_part
557  ├──expanding: $local_part
558  ╰─────result: usery
559             ╰──(tainted)
560 domain.com in "*"? yes (matched "*")
561 ----------- end verify ------------
562 accept: condition test succeeded in ACL "cutthrough"
563 end of ACL "cutthrough": ACCEPT
564 ----------- start cutthrough setup ------------
565 domain.com in "test.ex : *.test.ex"? no (end of list)
566 domain.com in "! +local_domains"? yes (end of list)
567  ╭considering: $local_part
568  ├──expanding: $local_part
569  ╰─────result: usery
570             ╰──(tainted)
571 domain.com in "*"? yes (matched "*")
572 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ...  connected
573  ╭considering: $primary_hostname
574  ├──expanding: $primary_hostname
575  ╰─────result: myhost.test.ex
576   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
577 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
578   SMTP>> EHLO myhost.test.ex
579 cmd buf flush ddd bytes
580   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
581          250-SIZE 52428800
582          250-8BITMIME
583          250-PIPELINING
584          250-STARTTLS
585          250 HELP
586  ╭considering: ${if eq {$address_data}{usery}{*}{:}}
587   ╭considering: $address_data}{usery}{*}{:}}
588   ├──expanding: $address_data
589   ╰─────result: usery
590              ╰──(tainted)
591   ╭considering: usery}{*}{:}}
592   ├──expanding: usery
593   ╰─────result: usery
594  ├──condition: eq {$address_data}{usery}
595  ├─────result: true
596   ╭considering: *}{:}}
597   ├──expanding: *
598   ╰─────result: *
599   ╭───scanning: :}}
600   ├──expanding: :
601   ├─────result: :
602   ╰───skipping: result is not used
603  ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
604  ╰─────result: *
605 127.0.0.1 in hosts_avoid_tls? yes (matched "*")
606 127.0.0.1 in hosts_avoid_pipelining? no (option unset)
607 using PIPELINING
608 not using DSN
609 127.0.0.1 in hosts_require_auth? no (option unset)
610   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
611   SMTP>> RCPT TO:<usery@domain.com>
612 cmd buf flush ddd bytes
613 sync_responses expect mail
614   SMTP<< 250 OK
615 sync_responses expect rcpt
616   SMTP<< 250 Accepted
617 holding verify callout open for cutthrough delivery
618 ----------- end cutthrough setup ------------
619 processing "accept" (TESTSUITE/test-config 55)
620 accept: condition test succeeded in inline ACL
621 end of inline ACL: ACCEPT
622   SMTP>> DATA
623   SMTP<< 354 Enter message, ending with "." on a line by itself
624  ╭considering: ${tod_full}
625  ├──expanding: ${tod_full}
626  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
627  ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
628         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
629         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
630         }}(Exim $version_number)
631         ${if def:sender_address {(envelope-from <$sender_address>)
632         }}id $message_exim_id${if def:received_for {
633         for $received_for}}
634  ├──condition: def:sender_rcvhost
635  ├─────result: false
636   ╭───scanning: from $sender_rcvhost
637         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
638         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
639         }}(Exim $version_number)
640         ${if def:sender_address {(envelope-from <$sender_address>)
641         }}id $message_exim_id${if def:received_for {
642         for $received_for}}
643   ├──expanding: from $sender_rcvhost
644         
645   ├─────result: from 
646         
647   ╰───skipping: result is not used
648   ╭considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
649         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
650         }}(Exim $version_number)
651         ${if def:sender_address {(envelope-from <$sender_address>)
652         }}id $message_exim_id${if def:received_for {
653         for $received_for}}
654   ├──condition: def:sender_ident
655   ├─────result: true
656    ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
657         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
658         }}(Exim $version_number)
659         ${if def:sender_address {(envelope-from <$sender_address>)
660         }}id $message_exim_id${if def:received_for {
661         for $received_for}}
662    ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
663    ╎  }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
664    ╎  }}(Exim $version_number)
665    ╎  ${if def:sender_address {(envelope-from <$sender_address>)
666    ╎  }}id $message_exim_id${if def:received_for {
667    ╎  for $received_for}}
668    ╎├──expanding: $sender_ident
669    ╎╰─────result: CALLER
670    ├──expanding: from ${quote_local_part:$sender_ident} 
671    ╰─────result: from CALLER 
672   ├──condition: def:sender_helo_name
673   ├─────result: true
674    ╭considering: (helo=$sender_helo_name)
675         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
676         }}(Exim $version_number)
677         ${if def:sender_address {(envelope-from <$sender_address>)
678         }}id $message_exim_id${if def:received_for {
679         for $received_for}}
680    ├──expanding: (helo=$sender_helo_name)
681         
682    ╰─────result: (helo=myhost.test.ex)
683         
684               ╰──(tainted)
685   ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
686         }}
687   ╰─────result: from CALLER (helo=myhost.test.ex)
688         
689              ╰──(tainted)
690  ├──condition: def:received_protocol
691  ├─────result: true
692   ╭considering: with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
693         }}(Exim $version_number)
694         ${if def:sender_address {(envelope-from <$sender_address>)
695         }}id $message_exim_id${if def:received_for {
696         for $received_for}}
697   ├──expanding: with $received_protocol 
698   ╰─────result: with local-esmtp 
699  ├──condition: def:tls_in_cipher_std
700  ├─────result: false
701   ╭───scanning:  tls $tls_in_cipher_std
702         }}(Exim $version_number)
703         ${if def:sender_address {(envelope-from <$sender_address>)
704         }}id $message_exim_id${if def:received_for {
705         for $received_for}}
706   ├──expanding:  tls $tls_in_cipher_std
707         
708   ├─────result:  tls 
709         
710   ╰───skipping: result is not used
711  ├──condition: def:sender_address
712  ├─────result: true
713   ╭considering: (envelope-from <$sender_address>)
714         }}id $message_exim_id${if def:received_for {
715         for $received_for}}
716   ├──expanding: (envelope-from <$sender_address>)
717         
718   ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
719         
720  ├──condition: def:received_for
721  ├─────result: true
722   ╭considering: 
723         for $received_for}}
724   ├──expanding: 
725         for $received_for
726   ╰─────result: 
727         for usery@domain.com
728              ╰──(tainted)
729  ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
730         }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
731         }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
732         }}(Exim $version_number)
733         ${if def:sender_address {(envelope-from <$sender_address>)
734         }}id $message_exim_id${if def:received_for {
735         for $received_for}}
736  ╰─────result: Received: from CALLER (helo=myhost.test.ex)
737         by myhost.test.ex with local-esmtp (Exim x.yz)
738         (envelope-from <CALLER@myhost.test.ex>)
739         id 10HmbB-0005vi-00
740         for usery@domain.com
741             ╰──(tainted)
742 ----------- start cutthrough headers send -----------
743 ----------- done cutthrough headers send ------------
744  ╭considering: ${tod_full}
745  ├──expanding: ${tod_full}
746  ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
747   SMTP>> .
748   SMTP<< 250 OK id=10HmbC-0005vi-00
749 LOG: MAIN
750   >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbC-0005vi-00"
751   SMTP>> QUIT
752   SMTP<< 221 myhost.test.ex closing connection
753   SMTP(close)>>
754 ----------- cutthrough shutdown (delivered) ------------
755 LOG: MAIN
756   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
757 LOG: MAIN
758   Completed
759 LOG: smtp_connection MAIN
760   SMTP connection from CALLER closed by QUIT
761 >>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
762
763 ******** SERVER ********