Track tainted data and refuse to expand it
[exim.git] / test / stderr / 5410
CommitLineData
b32ddfaa
JH
1Exim version x.yz ....
2configuration file is TESTSUITE/test-config
3admin user
4 in hosts_connection_nolog? no (option unset)
5LOG: smtp_connection MAIN
6 SMTP connection from CALLER
bff2d643 7 ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
1b37ac39 8 ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
bff2d643 9 ╰─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
50dc7409 10 in dsn_advertise_hosts? no (option unset)
b32ddfaa 11 in pipelining_advertise_hosts? yes (matched "*")
aa368db3 12 in chunking_advertise_hosts? no (end of list)
b32ddfaa 13 in tls_advertise_hosts? yes (matched "*")
bff2d643
JH
14 ╭considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
15 ╭considering: SERVER}{server}{queue}{cutthrough}}
1b37ac39 16 ├──expanding: SERVER
bff2d643
JH
17 ╰─────result: SERVER
18 ╭considering: server}{queue}{cutthrough}}
1b37ac39 19 ├──expanding: server
bff2d643 20 ╰─────result: server
1b37ac39
JH
21 ├──condition: eq {SERVER}{server}
22 ├─────result: false
bff2d643 23 ╭───scanning: queue}{cutthrough}}
1b37ac39
JH
24 ├──expanding: queue
25 ├─────result: queue
bff2d643
JH
26 ╰───skipping: result is not used
27 ╭considering: cutthrough}}
1b37ac39 28 ├──expanding: cutthrough
bff2d643 29 ╰─────result: cutthrough
1b37ac39 30 ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
bff2d643 31 ╰─────result: cutthrough
b32ddfaa 32using ACL "cutthrough"
897024f1 33processing "accept" (TESTSUITE/test-config 22)
b32ddfaa
JH
34check control = cutthrough_delivery
35check verify = recipient
36domain.com in "test.ex : *.test.ex"? no (end of list)
37domain.com in "! +local_domains"? yes (end of list)
bff2d643 38 ╭considering: $local_part
1b37ac39 39 ├──expanding: $local_part
bff2d643 40 ╰─────result: userx
f3ebb786 41 ╰──(tainted)
b32ddfaa
JH
42domain.com in "*"? yes (matched "*")
43----------- end verify ------------
44accept: condition test succeeded in ACL "cutthrough"
a7538db1 45end of ACL "cutthrough": ACCEPT
b32ddfaa
JH
46----------- start cutthrough setup ------------
47domain.com in "test.ex : *.test.ex"? no (end of list)
48domain.com in "! +local_domains"? yes (end of list)
bff2d643 49 ╭considering: $local_part
1b37ac39 50 ├──expanding: $local_part
bff2d643 51 ╰─────result: userx
f3ebb786 52 ╰──(tainted)
b32ddfaa 53domain.com in "*"? yes (matched "*")
b48cf079 54Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
bff2d643 55 ╭considering: $primary_hostname
1b37ac39 56 ├──expanding: $primary_hostname
bff2d643 57 ╰─────result: myhost.test.ex
b32ddfaa
JH
58 SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
59127.0.0.1 in hosts_avoid_esmtp? no (option unset)
60 SMTP>> EHLO myhost.test.ex
76003495 61cmd buf flush ddd bytes
b32ddfaa
JH
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
bff2d643
JH
68 ╭considering: ${if eq {$address_data}{usery}{*}{:}}
69 ╭considering: $address_data}{usery}{*}{:}}
1b37ac39 70 ├──expanding: $address_data
bff2d643 71 ╰─────result: userx
f3ebb786 72 ╰──(tainted)
bff2d643 73 ╭considering: usery}{*}{:}}
1b37ac39 74 ├──expanding: usery
bff2d643 75 ╰─────result: usery
1b37ac39
JH
76 ├──condition: eq {$address_data}{usery}
77 ├─────result: false
bff2d643 78 ╭───scanning: *}{:}}
1b37ac39
JH
79 ├──expanding: *
80 ├─────result: *
bff2d643
JH
81 ╰───skipping: result is not used
82 ╭considering: :}}
1b37ac39 83 ├──expanding: :
bff2d643 84 ╰─────result: :
1b37ac39 85 ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
bff2d643 86 ╰─────result: :
b32ddfaa 87127.0.0.1 in hosts_avoid_tls? no (end of list)
bff2d643
JH
88 ╭considering: ${if eq {$address_data}{userz}{*}{:}}
89 ╭considering: $address_data}{userz}{*}{:}}
1b37ac39 90 ├──expanding: $address_data
bff2d643 91 ╰─────result: userx
f3ebb786 92 ╰──(tainted)
bff2d643 93 ╭considering: userz}{*}{:}}
1b37ac39 94 ├──expanding: userz
bff2d643 95 ╰─────result: userz
1b37ac39
JH
96 ├──condition: eq {$address_data}{userz}
97 ├─────result: false
bff2d643 98 ╭───scanning: *}{:}}
1b37ac39
JH
99 ├──expanding: *
100 ├─────result: *
bff2d643
JH
101 ╰───skipping: result is not used
102 ╭considering: :}}
1b37ac39 103 ├──expanding: :
bff2d643 104 ╰─────result: :
1b37ac39 105 ├──expanding: ${if eq {$address_data}{userz}{*}{:}}
bff2d643 106 ╰─────result: :
99400968 107127.0.0.1 in hosts_verify_avoid_tls? no (end of list)
b32ddfaa 108 SMTP>> STARTTLS
76003495 109cmd buf flush ddd bytes
b32ddfaa 110 SMTP<< 220 TLS go ahead
610ff438
JH
111127.0.0.1 in tls_verify_hosts? no (option unset)
112127.0.0.1 in tls_try_verify_hosts? no (end of list)
b32ddfaa 113 SMTP>> EHLO myhost.test.ex
76003495 114cmd buf flush ddd bytes
b32ddfaa
JH
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
02b41d71
JH
120127.0.0.1 in hosts_avoid_pipelining? no (option unset)
121using PIPELINING
122not using DSN
fcc8e047 123127.0.0.1 in hosts_require_auth? no (option unset)
14de8063 124 SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
b32ddfaa 125 SMTP>> RCPT TO:<userx@domain.com>
76003495 126cmd buf flush ddd bytes
7c576fca 127sync_responses expect mail
e9166683 128 SMTP<< 250 OK
7c576fca 129sync_responses expect rcpt
b32ddfaa 130 SMTP<< 250 Accepted
8b9476ba 131holding verify callout open for cutthrough delivery
b32ddfaa 132----------- end cutthrough setup ------------
897024f1 133processing "accept" (TESTSUITE/test-config 55)
b32ddfaa 134accept: condition test succeeded in inline ACL
a7538db1 135end of inline ACL: ACCEPT
b32ddfaa
JH
136 SMTP>> DATA
137 SMTP<< 354 Enter message, ending with "." on a line by itself
bff2d643 138 ╭considering: ${tod_full}
1b37ac39 139 ├──expanding: ${tod_full}
bff2d643
JH
140 ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
141 ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 142 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
145 ${if def:sender_address {(envelope-from <$sender_address>)
146 }}id $message_exim_id${if def:received_for {
147 for $received_for}}
1b37ac39
JH
148 ├──condition: def:sender_rcvhost
149 ├─────result: false
bff2d643 150 ╭───scanning: from $sender_rcvhost
f9913671 151 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
154 ${if def:sender_address {(envelope-from <$sender_address>)
155 }}id $message_exim_id${if def:received_for {
156 for $received_for}}
1b37ac39 157 ├──expanding: from $sender_rcvhost
f9913671 158
1b37ac39 159 ├─────result: from
f9913671 160
bff2d643
JH
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)
f1be21cf
JH
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)
f9913671
JH
165 ${if def:sender_address {(envelope-from <$sender_address>)
166 }}id $message_exim_id${if def:received_for {
167 for $received_for}}
1b37ac39
JH
168 ├──condition: def:sender_ident
169 ├─────result: true
bff2d643 170 ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
173 ${if def:sender_address {(envelope-from <$sender_address>)
174 }}id $message_exim_id${if def:received_for {
175 for $received_for}}
bff2d643 176 ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
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
bff2d643 183 ╎╰─────result: CALLER
1b37ac39 184 ├──expanding: from ${quote_local_part:$sender_ident}
bff2d643 185 ╰─────result: from CALLER
1b37ac39
JH
186 ├──condition: def:sender_helo_name
187 ├─────result: true
bff2d643 188 ╭considering: (helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
191 ${if def:sender_address {(envelope-from <$sender_address>)
192 }}id $message_exim_id${if def:received_for {
193 for $received_for}}
1b37ac39 194 ├──expanding: (helo=$sender_helo_name)
f9913671 195
bff2d643 196 ╰─────result: (helo=myhost.test.ex)
f9913671 197
f3ebb786 198 ╰──(tainted)
1b37ac39 199 ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f9913671 200 }}
bff2d643 201 ╰─────result: from CALLER (helo=myhost.test.ex)
f9913671 202
f3ebb786 203 ╰──(tainted)
1b37ac39
JH
204 ├──condition: def:received_protocol
205 ├─────result: true
bff2d643 206 ╭considering: with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
f1be21cf 207 }}(Exim $version_number)
f9913671
JH
208 ${if def:sender_address {(envelope-from <$sender_address>)
209 }}id $message_exim_id${if def:received_for {
210 for $received_for}}
f1be21cf 211 ├──expanding: with $received_protocol
bff2d643 212 ╰─────result: with local-esmtp
f1be21cf
JH
213 ├──condition: def:tls_in_cipher_std
214 ├─────result: false
bff2d643 215 ╭───scanning: tls $tls_in_cipher_std
f1be21cf
JH
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
bff2d643 224 ╰───skipping: result is not used
1b37ac39
JH
225 ├──condition: def:sender_address
226 ├─────result: true
bff2d643 227 ╭considering: (envelope-from <$sender_address>)
f9913671
JH
228 }}id $message_exim_id${if def:received_for {
229 for $received_for}}
1b37ac39 230 ├──expanding: (envelope-from <$sender_address>)
f9913671 231
bff2d643 232 ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
f9913671 233
1b37ac39
JH
234 ├──condition: def:received_for
235 ├─────result: true
bff2d643 236 ╭considering:
f9913671 237 for $received_for}}
1b37ac39 238 ├──expanding:
f9913671 239 for $received_for
bff2d643 240 ╰─────result:
f9913671 241 for userx@domain.com
f3ebb786 242 ╰──(tainted)
1b37ac39 243 ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 244 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
247 ${if def:sender_address {(envelope-from <$sender_address>)
248 }}id $message_exim_id${if def:received_for {
249 for $received_for}}
bff2d643 250 ╰─────result: Received: from CALLER (helo=myhost.test.ex)
f9913671
JH
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
f3ebb786 255 ╰──(tainted)
511a6c14
JH
256----------- start cutthrough headers send -----------
257----------- done cutthrough headers send ------------
bff2d643 258 ╭considering: ${tod_full}
1b37ac39 259 ├──expanding: ${tod_full}
bff2d643 260 ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
b32ddfaa 261 SMTP>> .
d4dc049f 262 SMTP<< 250 OK id=10HmaY-0005vi-00
b32ddfaa 263LOG: MAIN
826cb8c2 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"
b32ddfaa 265 SMTP>> QUIT
2760b518 266 SMTP<< 221 myhost.test.ex closing connection
ae5afa61 267 SMTP(close)>>
b32ddfaa
JH
268----------- cutthrough shutdown (delivered) ------------
269LOG: MAIN
270 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
271LOG: MAIN
272 Completed
273LOG: smtp_connection MAIN
274 SMTP connection from CALLER closed by QUIT
9bfb7e1b 275>>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
b32ddfaa
JH
276Exim version x.yz ....
277configuration file is TESTSUITE/test-config
278admin user
279 in hosts_connection_nolog? no (option unset)
280LOG: smtp_connection MAIN
281 SMTP connection from CALLER
bff2d643 282 ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
1b37ac39 283 ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
bff2d643 284 ╰─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
50dc7409 285 in dsn_advertise_hosts? no (option unset)
b32ddfaa 286 in pipelining_advertise_hosts? yes (matched "*")
aa368db3 287 in chunking_advertise_hosts? no (end of list)
b32ddfaa 288 in tls_advertise_hosts? yes (matched "*")
bff2d643
JH
289 ╭considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
290 ╭considering: SERVER}{server}{queue}{cutthrough}}
1b37ac39 291 ├──expanding: SERVER
bff2d643
JH
292 ╰─────result: SERVER
293 ╭considering: server}{queue}{cutthrough}}
1b37ac39 294 ├──expanding: server
bff2d643 295 ╰─────result: server
1b37ac39
JH
296 ├──condition: eq {SERVER}{server}
297 ├─────result: false
bff2d643 298 ╭───scanning: queue}{cutthrough}}
1b37ac39
JH
299 ├──expanding: queue
300 ├─────result: queue
bff2d643
JH
301 ╰───skipping: result is not used
302 ╭considering: cutthrough}}
1b37ac39 303 ├──expanding: cutthrough
bff2d643 304 ╰─────result: cutthrough
1b37ac39 305 ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
bff2d643 306 ╰─────result: cutthrough
b32ddfaa 307using ACL "cutthrough"
897024f1 308processing "accept" (TESTSUITE/test-config 22)
b32ddfaa
JH
309check control = cutthrough_delivery
310check verify = recipient
311domain.com in "test.ex : *.test.ex"? no (end of list)
312domain.com in "! +local_domains"? yes (end of list)
bff2d643 313 ╭considering: $local_part
1b37ac39 314 ├──expanding: $local_part
bff2d643 315 ╰─────result: usery
f3ebb786 316 ╰──(tainted)
b32ddfaa
JH
317domain.com in "*"? yes (matched "*")
318----------- end verify ------------
319accept: condition test succeeded in ACL "cutthrough"
a7538db1 320end of ACL "cutthrough": ACCEPT
b32ddfaa
JH
321----------- start cutthrough setup ------------
322domain.com in "test.ex : *.test.ex"? no (end of list)
323domain.com in "! +local_domains"? yes (end of list)
bff2d643 324 ╭considering: $local_part
1b37ac39 325 ├──expanding: $local_part
bff2d643 326 ╰─────result: usery
f3ebb786 327 ╰──(tainted)
b32ddfaa 328domain.com in "*"? yes (matched "*")
b48cf079 329Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
bff2d643 330 ╭considering: $primary_hostname
1b37ac39 331 ├──expanding: $primary_hostname
bff2d643 332 ╰─────result: myhost.test.ex
b32ddfaa
JH
333 SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
334127.0.0.1 in hosts_avoid_esmtp? no (option unset)
335 SMTP>> EHLO myhost.test.ex
76003495 336cmd buf flush ddd bytes
b32ddfaa
JH
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
bff2d643
JH
343 ╭considering: ${if eq {$address_data}{usery}{*}{:}}
344 ╭considering: $address_data}{usery}{*}{:}}
1b37ac39 345 ├──expanding: $address_data
bff2d643 346 ╰─────result: usery
f3ebb786 347 ╰──(tainted)
bff2d643 348 ╭considering: usery}{*}{:}}
1b37ac39 349 ├──expanding: usery
bff2d643 350 ╰─────result: usery
1b37ac39
JH
351 ├──condition: eq {$address_data}{usery}
352 ├─────result: true
bff2d643 353 ╭considering: *}{:}}
1b37ac39 354 ├──expanding: *
bff2d643
JH
355 ╰─────result: *
356 ╭───scanning: :}}
1b37ac39
JH
357 ├──expanding: :
358 ├─────result: :
bff2d643 359 ╰───skipping: result is not used
1b37ac39 360 ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
bff2d643 361 ╰─────result: *
b32ddfaa 362127.0.0.1 in hosts_avoid_tls? yes (matched "*")
02b41d71
JH
363127.0.0.1 in hosts_avoid_pipelining? no (option unset)
364using PIPELINING
365not using DSN
fcc8e047 366127.0.0.1 in hosts_require_auth? no (option unset)
14de8063 367 SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
b32ddfaa 368 SMTP>> RCPT TO:<usery@domain.com>
76003495 369cmd buf flush ddd bytes
7c576fca 370sync_responses expect mail
e9166683 371 SMTP<< 250 OK
7c576fca 372sync_responses expect rcpt
b32ddfaa 373 SMTP<< 250 Accepted
8b9476ba 374holding verify callout open for cutthrough delivery
b32ddfaa 375----------- end cutthrough setup ------------
897024f1 376processing "accept" (TESTSUITE/test-config 55)
b32ddfaa 377accept: condition test succeeded in inline ACL
a7538db1 378end of inline ACL: ACCEPT
b32ddfaa
JH
379 SMTP>> DATA
380 SMTP<< 354 Enter message, ending with "." on a line by itself
bff2d643 381 ╭considering: ${tod_full}
1b37ac39 382 ├──expanding: ${tod_full}
bff2d643
JH
383 ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
384 ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 385 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
388 ${if def:sender_address {(envelope-from <$sender_address>)
389 }}id $message_exim_id${if def:received_for {
390 for $received_for}}
1b37ac39
JH
391 ├──condition: def:sender_rcvhost
392 ├─────result: false
bff2d643 393 ╭───scanning: from $sender_rcvhost
f9913671 394 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
397 ${if def:sender_address {(envelope-from <$sender_address>)
398 }}id $message_exim_id${if def:received_for {
399 for $received_for}}
1b37ac39 400 ├──expanding: from $sender_rcvhost
f9913671 401
1b37ac39 402 ├─────result: from
f9913671 403
bff2d643
JH
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)
f1be21cf
JH
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)
f9913671
JH
408 ${if def:sender_address {(envelope-from <$sender_address>)
409 }}id $message_exim_id${if def:received_for {
410 for $received_for}}
1b37ac39
JH
411 ├──condition: def:sender_ident
412 ├─────result: true
bff2d643 413 ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
416 ${if def:sender_address {(envelope-from <$sender_address>)
417 }}id $message_exim_id${if def:received_for {
418 for $received_for}}
bff2d643 419 ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
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
bff2d643 426 ╎╰─────result: CALLER
1b37ac39 427 ├──expanding: from ${quote_local_part:$sender_ident}
bff2d643 428 ╰─────result: from CALLER
1b37ac39
JH
429 ├──condition: def:sender_helo_name
430 ├─────result: true
bff2d643 431 ╭considering: (helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
434 ${if def:sender_address {(envelope-from <$sender_address>)
435 }}id $message_exim_id${if def:received_for {
436 for $received_for}}
1b37ac39 437 ├──expanding: (helo=$sender_helo_name)
f9913671 438
bff2d643 439 ╰─────result: (helo=myhost.test.ex)
f9913671 440
f3ebb786 441 ╰──(tainted)
1b37ac39 442 ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f9913671 443 }}
bff2d643 444 ╰─────result: from CALLER (helo=myhost.test.ex)
f9913671 445
f3ebb786 446 ╰──(tainted)
1b37ac39
JH
447 ├──condition: def:received_protocol
448 ├─────result: true
bff2d643 449 ╭considering: with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
f1be21cf
JH
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
bff2d643 455 ╰─────result: with local-esmtp
f1be21cf
JH
456 ├──condition: def:tls_in_cipher_std
457 ├─────result: false
bff2d643 458 ╭───scanning: tls $tls_in_cipher_std
f1be21cf 459 }}(Exim $version_number)
f9913671
JH
460 ${if def:sender_address {(envelope-from <$sender_address>)
461 }}id $message_exim_id${if def:received_for {
462 for $received_for}}
f1be21cf
JH
463 ├──expanding: tls $tls_in_cipher_std
464
465 ├─────result: tls
466
bff2d643 467 ╰───skipping: result is not used
1b37ac39
JH
468 ├──condition: def:sender_address
469 ├─────result: true
bff2d643 470 ╭considering: (envelope-from <$sender_address>)
f9913671
JH
471 }}id $message_exim_id${if def:received_for {
472 for $received_for}}
1b37ac39 473 ├──expanding: (envelope-from <$sender_address>)
f9913671 474
bff2d643 475 ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
f9913671 476
1b37ac39
JH
477 ├──condition: def:received_for
478 ├─────result: true
bff2d643 479 ╭considering:
f9913671 480 for $received_for}}
1b37ac39 481 ├──expanding:
f9913671 482 for $received_for
bff2d643 483 ╰─────result:
f9913671 484 for usery@domain.com
f3ebb786 485 ╰──(tainted)
1b37ac39 486 ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 487 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
490 ${if def:sender_address {(envelope-from <$sender_address>)
491 }}id $message_exim_id${if def:received_for {
492 for $received_for}}
bff2d643 493 ╰─────result: Received: from CALLER (helo=myhost.test.ex)
f9913671
JH
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
f3ebb786 498 ╰──(tainted)
511a6c14
JH
499----------- start cutthrough headers send -----------
500----------- done cutthrough headers send ------------
bff2d643 501 ╭considering: ${tod_full}
1b37ac39 502 ├──expanding: ${tod_full}
bff2d643 503 ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
b32ddfaa 504 SMTP>> .
d4dc049f 505 SMTP<< 250 OK id=10HmbA-0005vi-00
b32ddfaa 506LOG: MAIN
d4dc049f 507 >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbA-0005vi-00"
b32ddfaa 508 SMTP>> QUIT
2760b518 509 SMTP<< 221 myhost.test.ex closing connection
ae5afa61 510 SMTP(close)>>
b32ddfaa
JH
511----------- cutthrough shutdown (delivered) ------------
512LOG: MAIN
513 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
514LOG: MAIN
515 Completed
516LOG: smtp_connection MAIN
517 SMTP connection from CALLER closed by QUIT
9bfb7e1b 518>>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
99400968
JH
519Exim version x.yz ....
520configuration file is TESTSUITE/test-config
521admin user
522 in hosts_connection_nolog? no (option unset)
523LOG: smtp_connection MAIN
524 SMTP connection from CALLER
bff2d643 525 ╭considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
1b37ac39 526 ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
bff2d643 527 ╰─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
50dc7409 528 in dsn_advertise_hosts? no (option unset)
99400968 529 in pipelining_advertise_hosts? yes (matched "*")
aa368db3 530 in chunking_advertise_hosts? no (end of list)
99400968 531 in tls_advertise_hosts? yes (matched "*")
bff2d643
JH
532 ╭considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
533 ╭considering: SERVER}{server}{queue}{cutthrough}}
1b37ac39 534 ├──expanding: SERVER
bff2d643
JH
535 ╰─────result: SERVER
536 ╭considering: server}{queue}{cutthrough}}
1b37ac39 537 ├──expanding: server
bff2d643 538 ╰─────result: server
1b37ac39
JH
539 ├──condition: eq {SERVER}{server}
540 ├─────result: false
bff2d643 541 ╭───scanning: queue}{cutthrough}}
1b37ac39
JH
542 ├──expanding: queue
543 ├─────result: queue
bff2d643
JH
544 ╰───skipping: result is not used
545 ╭considering: cutthrough}}
1b37ac39 546 ├──expanding: cutthrough
bff2d643 547 ╰─────result: cutthrough
1b37ac39 548 ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
bff2d643 549 ╰─────result: cutthrough
99400968 550using ACL "cutthrough"
897024f1 551processing "accept" (TESTSUITE/test-config 22)
99400968
JH
552check control = cutthrough_delivery
553check verify = recipient
554domain.com in "test.ex : *.test.ex"? no (end of list)
555domain.com in "! +local_domains"? yes (end of list)
bff2d643 556 ╭considering: $local_part
1b37ac39 557 ├──expanding: $local_part
bff2d643 558 ╰─────result: usery
f3ebb786 559 ╰──(tainted)
99400968
JH
560domain.com in "*"? yes (matched "*")
561----------- end verify ------------
562accept: condition test succeeded in ACL "cutthrough"
a7538db1 563end of ACL "cutthrough": ACCEPT
99400968
JH
564----------- start cutthrough setup ------------
565domain.com in "test.ex : *.test.ex"? no (end of list)
566domain.com in "! +local_domains"? yes (end of list)
bff2d643 567 ╭considering: $local_part
1b37ac39 568 ├──expanding: $local_part
bff2d643 569 ╰─────result: usery
f3ebb786 570 ╰──(tainted)
99400968 571domain.com in "*"? yes (matched "*")
b48cf079 572Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
bff2d643 573 ╭considering: $primary_hostname
1b37ac39 574 ├──expanding: $primary_hostname
bff2d643 575 ╰─────result: myhost.test.ex
99400968
JH
576 SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
577127.0.0.1 in hosts_avoid_esmtp? no (option unset)
578 SMTP>> EHLO myhost.test.ex
76003495 579cmd buf flush ddd bytes
99400968
JH
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
bff2d643
JH
586 ╭considering: ${if eq {$address_data}{usery}{*}{:}}
587 ╭considering: $address_data}{usery}{*}{:}}
1b37ac39 588 ├──expanding: $address_data
bff2d643 589 ╰─────result: usery
f3ebb786 590 ╰──(tainted)
bff2d643 591 ╭considering: usery}{*}{:}}
1b37ac39 592 ├──expanding: usery
bff2d643 593 ╰─────result: usery
1b37ac39
JH
594 ├──condition: eq {$address_data}{usery}
595 ├─────result: true
bff2d643 596 ╭considering: *}{:}}
1b37ac39 597 ├──expanding: *
bff2d643
JH
598 ╰─────result: *
599 ╭───scanning: :}}
1b37ac39
JH
600 ├──expanding: :
601 ├─────result: :
bff2d643 602 ╰───skipping: result is not used
1b37ac39 603 ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
bff2d643 604 ╰─────result: *
99400968 605127.0.0.1 in hosts_avoid_tls? yes (matched "*")
02b41d71
JH
606127.0.0.1 in hosts_avoid_pipelining? no (option unset)
607using PIPELINING
608not using DSN
fcc8e047 609127.0.0.1 in hosts_require_auth? no (option unset)
14de8063 610 SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
99400968 611 SMTP>> RCPT TO:<usery@domain.com>
76003495 612cmd buf flush ddd bytes
7c576fca 613sync_responses expect mail
e9166683 614 SMTP<< 250 OK
7c576fca 615sync_responses expect rcpt
99400968 616 SMTP<< 250 Accepted
8b9476ba 617holding verify callout open for cutthrough delivery
99400968 618----------- end cutthrough setup ------------
897024f1 619processing "accept" (TESTSUITE/test-config 55)
99400968 620accept: condition test succeeded in inline ACL
a7538db1 621end of inline ACL: ACCEPT
99400968
JH
622 SMTP>> DATA
623 SMTP<< 354 Enter message, ending with "." on a line by itself
bff2d643 624 ╭considering: ${tod_full}
1b37ac39 625 ├──expanding: ${tod_full}
bff2d643
JH
626 ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
627 ╭considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 628 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
631 ${if def:sender_address {(envelope-from <$sender_address>)
632 }}id $message_exim_id${if def:received_for {
633 for $received_for}}
1b37ac39
JH
634 ├──condition: def:sender_rcvhost
635 ├─────result: false
bff2d643 636 ╭───scanning: from $sender_rcvhost
f9913671 637 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
640 ${if def:sender_address {(envelope-from <$sender_address>)
641 }}id $message_exim_id${if def:received_for {
642 for $received_for}}
1b37ac39 643 ├──expanding: from $sender_rcvhost
f9913671 644
1b37ac39 645 ├─────result: from
f9913671 646
bff2d643
JH
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)
f1be21cf
JH
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)
f9913671
JH
651 ${if def:sender_address {(envelope-from <$sender_address>)
652 }}id $message_exim_id${if def:received_for {
653 for $received_for}}
1b37ac39
JH
654 ├──condition: def:sender_ident
655 ├─────result: true
bff2d643 656 ╭considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
659 ${if def:sender_address {(envelope-from <$sender_address>)
660 }}id $message_exim_id${if def:received_for {
661 for $received_for}}
bff2d643 662 ╎╭considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
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
bff2d643 669 ╎╰─────result: CALLER
1b37ac39 670 ├──expanding: from ${quote_local_part:$sender_ident}
bff2d643 671 ╰─────result: from CALLER
1b37ac39
JH
672 ├──condition: def:sender_helo_name
673 ├─────result: true
bff2d643 674 ╭considering: (helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
677 ${if def:sender_address {(envelope-from <$sender_address>)
678 }}id $message_exim_id${if def:received_for {
679 for $received_for}}
1b37ac39 680 ├──expanding: (helo=$sender_helo_name)
f9913671 681
bff2d643 682 ╰─────result: (helo=myhost.test.ex)
f9913671 683
f3ebb786 684 ╰──(tainted)
1b37ac39 685 ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f9913671 686 }}
bff2d643 687 ╰─────result: from CALLER (helo=myhost.test.ex)
f9913671 688
f3ebb786 689 ╰──(tainted)
1b37ac39
JH
690 ├──condition: def:received_protocol
691 ├─────result: true
bff2d643 692 ╭considering: with $received_protocol }}${if def:tls_in_cipher_std { tls $tls_in_cipher_std
f1be21cf
JH
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
bff2d643 698 ╰─────result: with local-esmtp
f1be21cf
JH
699 ├──condition: def:tls_in_cipher_std
700 ├─────result: false
bff2d643 701 ╭───scanning: tls $tls_in_cipher_std
f1be21cf 702 }}(Exim $version_number)
f9913671
JH
703 ${if def:sender_address {(envelope-from <$sender_address>)
704 }}id $message_exim_id${if def:received_for {
705 for $received_for}}
f1be21cf
JH
706 ├──expanding: tls $tls_in_cipher_std
707
708 ├─────result: tls
709
bff2d643 710 ╰───skipping: result is not used
1b37ac39
JH
711 ├──condition: def:sender_address
712 ├─────result: true
bff2d643 713 ╭considering: (envelope-from <$sender_address>)
f9913671
JH
714 }}id $message_exim_id${if def:received_for {
715 for $received_for}}
1b37ac39 716 ├──expanding: (envelope-from <$sender_address>)
f9913671 717
bff2d643 718 ╰─────result: (envelope-from <CALLER@myhost.test.ex>)
f9913671 719
1b37ac39
JH
720 ├──condition: def:received_for
721 ├─────result: true
bff2d643 722 ╭considering:
f9913671 723 for $received_for}}
1b37ac39 724 ├──expanding:
f9913671 725 for $received_for
bff2d643 726 ╰─────result:
f9913671 727 for usery@domain.com
f3ebb786 728 ╰──(tainted)
1b37ac39 729 ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 730 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f1be21cf
JH
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)
f9913671
JH
733 ${if def:sender_address {(envelope-from <$sender_address>)
734 }}id $message_exim_id${if def:received_for {
735 for $received_for}}
bff2d643 736 ╰─────result: Received: from CALLER (helo=myhost.test.ex)
f9913671
JH
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
f3ebb786 741 ╰──(tainted)
511a6c14
JH
742----------- start cutthrough headers send -----------
743----------- done cutthrough headers send ------------
bff2d643 744 ╭considering: ${tod_full}
1b37ac39 745 ├──expanding: ${tod_full}
bff2d643 746 ╰─────result: Tue, 2 Mar 1999 09:44:33 +0000
99400968 747 SMTP>> .
d4dc049f 748 SMTP<< 250 OK id=10HmbC-0005vi-00
99400968 749LOG: MAIN
d4dc049f 750 >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbC-0005vi-00"
99400968 751 SMTP>> QUIT
2760b518 752 SMTP<< 221 myhost.test.ex closing connection
ae5afa61 753 SMTP(close)>>
99400968
JH
754----------- cutthrough shutdown (delivered) ------------
755LOG: MAIN
756 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
757LOG: MAIN
758 Completed
759LOG: smtp_connection MAIN
760 SMTP connection from CALLER closed by QUIT
9bfb7e1b 761>>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
b32ddfaa
JH
762
763******** SERVER ********