Testsuite: account for hostname-dependent output in debug output
[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
1b37ac39
JH
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
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 "*")
1b37ac39
JH
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
b32ddfaa
JH
32using ACL "cutthrough"
33processing "accept"
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)
1b37ac39
JH
38 ┌considering: $local_part
39 ├──expanding: $local_part
40 └─────result: userx
b32ddfaa
JH
41domain.com in "*"? yes (matched "*")
42----------- end verify ------------
43accept: condition test succeeded in ACL "cutthrough"
a7538db1 44end of ACL "cutthrough": ACCEPT
b32ddfaa
JH
45----------- start cutthrough setup ------------
46domain.com in "test.ex : *.test.ex"? no (end of list)
47domain.com in "! +local_domains"? yes (end of list)
1b37ac39
JH
48 ┌considering: $local_part
49 ├──expanding: $local_part
50 └─────result: userx
b32ddfaa 51domain.com in "*"? yes (matched "*")
cb340d8d 52Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
1b37ac39
JH
53 ┌considering: $primary_hostname
54 ├──expanding: $primary_hostname
55 └─────result: myhost.test.ex
b32ddfaa
JH
56 SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
57127.0.0.1 in hosts_avoid_esmtp? no (option unset)
58 SMTP>> EHLO myhost.test.ex
76003495 59cmd buf flush ddd bytes
b32ddfaa
JH
60 SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
61 250-SIZE 52428800
62 250-8BITMIME
63 250-PIPELINING
64 250-STARTTLS
65 250 HELP
1b37ac39
JH
66 ┌considering: ${if eq {$address_data}{usery}{*}{:}}
67 ┌considering: $address_data}{usery}{*}{:}}
68 ├──expanding: $address_data
69 └─────result: userx
70 ┌considering: usery}{*}{:}}
71 ├──expanding: usery
72 └─────result: usery
73 ├──condition: eq {$address_data}{usery}
74 ├─────result: false
75 ┌───scanning: *}{:}}
76 ├──expanding: *
77 ├─────result: *
78 └───skipping: result is not used
79 ┌considering: :}}
80 ├──expanding: :
81 └─────result: :
82 ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
83 └─────result: :
b32ddfaa 84127.0.0.1 in hosts_avoid_tls? no (end of list)
1b37ac39
JH
85 ┌considering: ${if eq {$address_data}{userz}{*}{:}}
86 ┌considering: $address_data}{userz}{*}{:}}
87 ├──expanding: $address_data
88 └─────result: userx
89 ┌considering: userz}{*}{:}}
90 ├──expanding: userz
91 └─────result: userz
92 ├──condition: eq {$address_data}{userz}
93 ├─────result: false
94 ┌───scanning: *}{:}}
95 ├──expanding: *
96 ├─────result: *
97 └───skipping: result is not used
98 ┌considering: :}}
99 ├──expanding: :
100 └─────result: :
101 ├──expanding: ${if eq {$address_data}{userz}{*}{:}}
102 └─────result: :
99400968 103127.0.0.1 in hosts_verify_avoid_tls? no (end of list)
b32ddfaa 104 SMTP>> STARTTLS
76003495 105cmd buf flush ddd bytes
b32ddfaa 106 SMTP<< 220 TLS go ahead
65867078 107127.0.0.1 in hosts_require_ocsp? no (option unset)
44662487 108127.0.0.1 in hosts_request_ocsp? yes (matched "*")
610ff438
JH
109127.0.0.1 in tls_verify_hosts? no (option unset)
110127.0.0.1 in tls_try_verify_hosts? no (end of list)
b32ddfaa 111 SMTP>> EHLO myhost.test.ex
76003495 112cmd buf flush ddd bytes
b32ddfaa
JH
113 SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
114 250-SIZE 52428800
115 250-8BITMIME
116 250-PIPELINING
117 250 HELP
02b41d71
JH
118127.0.0.1 in hosts_avoid_pipelining? no (option unset)
119using PIPELINING
120not using DSN
fcc8e047 121127.0.0.1 in hosts_require_auth? no (option unset)
14de8063 122 SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
b32ddfaa 123 SMTP>> RCPT TO:<userx@domain.com>
76003495 124cmd buf flush ddd bytes
7c576fca 125sync_responses expect mail
e9166683 126 SMTP<< 250 OK
7c576fca 127sync_responses expect rcpt
b32ddfaa 128 SMTP<< 250 Accepted
8b9476ba 129holding verify callout open for cutthrough delivery
b32ddfaa
JH
130----------- end cutthrough setup ------------
131processing "accept"
132accept: condition test succeeded in inline ACL
a7538db1 133end of inline ACL: ACCEPT
b32ddfaa
JH
134 SMTP>> DATA
135 SMTP<< 354 Enter message, ending with "." on a line by itself
1b37ac39
JH
136 ┌considering: ${tod_full}
137 ├──expanding: ${tod_full}
138 └─────result: Tue, 2 Mar 1999 09:44:33 +0000
139 ┌considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 140 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 141 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
142 ${if def:sender_address {(envelope-from <$sender_address>)
143 }}id $message_exim_id${if def:received_for {
144 for $received_for}}
1b37ac39
JH
145 ├──condition: def:sender_rcvhost
146 ├─────result: false
147 ┌───scanning: from $sender_rcvhost
f9913671 148 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 149 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
150 ${if def:sender_address {(envelope-from <$sender_address>)
151 }}id $message_exim_id${if def:received_for {
152 for $received_for}}
1b37ac39 153 ├──expanding: from $sender_rcvhost
f9913671 154
1b37ac39 155 ├─────result: from
f9913671 156
1b37ac39
JH
157 └───skipping: result is not used
158 ┌considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 159 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
160 ${if def:sender_address {(envelope-from <$sender_address>)
161 }}id $message_exim_id${if def:received_for {
162 for $received_for}}
1b37ac39
JH
163 ├──condition: def:sender_ident
164 ├─────result: true
165 ┌considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 166 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
167 ${if def:sender_address {(envelope-from <$sender_address>)
168 }}id $message_exim_id${if def:received_for {
169 for $received_for}}
170 ╎┌considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 171 ╎ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
172 ╎ ${if def:sender_address {(envelope-from <$sender_address>)
173 ╎ }}id $message_exim_id${if def:received_for {
174 ╎ for $received_for}}
175 ╎├──expanding: $sender_ident
176 ╎└─────result: CALLER
1b37ac39
JH
177 ├──expanding: from ${quote_local_part:$sender_ident}
178 └─────result: from CALLER
179 ├──condition: def:sender_helo_name
180 ├─────result: true
181 ┌considering: (helo=$sender_helo_name)
492fd282 182 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
183 ${if def:sender_address {(envelope-from <$sender_address>)
184 }}id $message_exim_id${if def:received_for {
185 for $received_for}}
1b37ac39 186 ├──expanding: (helo=$sender_helo_name)
f9913671 187
1b37ac39 188 └─────result: (helo=myhost.test.ex)
f9913671 189
1b37ac39 190 ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f9913671 191 }}
1b37ac39 192 └─────result: from CALLER (helo=myhost.test.ex)
f9913671 193
1b37ac39
JH
194 ├──condition: def:received_protocol
195 ├─────result: true
492fd282 196 ┌considering: with $received_protocol}} (Exim $version_number)
f9913671
JH
197 ${if def:sender_address {(envelope-from <$sender_address>)
198 }}id $message_exim_id${if def:received_for {
199 for $received_for}}
1b37ac39
JH
200 ├──expanding: with $received_protocol
201 └─────result: with local-esmtp
1b37ac39
JH
202 ├──condition: def:sender_address
203 ├─────result: true
204 ┌considering: (envelope-from <$sender_address>)
f9913671
JH
205 }}id $message_exim_id${if def:received_for {
206 for $received_for}}
1b37ac39 207 ├──expanding: (envelope-from <$sender_address>)
f9913671 208
1b37ac39 209 └─────result: (envelope-from <CALLER@myhost.test.ex>)
f9913671 210
1b37ac39
JH
211 ├──condition: def:received_for
212 ├─────result: true
213 ┌considering:
f9913671 214 for $received_for}}
1b37ac39 215 ├──expanding:
f9913671 216 for $received_for
1b37ac39 217 └─────result:
f9913671 218 for userx@domain.com
1b37ac39 219 ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 220 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 221 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
222 ${if def:sender_address {(envelope-from <$sender_address>)
223 }}id $message_exim_id${if def:received_for {
224 for $received_for}}
1b37ac39 225 └─────result: Received: from CALLER (helo=myhost.test.ex)
f9913671
JH
226 by myhost.test.ex with local-esmtp (Exim x.yz)
227 (envelope-from <CALLER@myhost.test.ex>)
228 id 10HmaX-0005vi-00
229 for userx@domain.com
511a6c14
JH
230----------- start cutthrough headers send -----------
231----------- done cutthrough headers send ------------
1b37ac39
JH
232 ┌considering: ${tod_full}
233 ├──expanding: ${tod_full}
234 └─────result: Tue, 2 Mar 1999 09:44:33 +0000
b32ddfaa 235 SMTP>> .
d4dc049f 236 SMTP<< 250 OK id=10HmaY-0005vi-00
b32ddfaa 237LOG: MAIN
ce25e298 238 >> userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] X=TLSv1:ke-RSA-AES256-SHA:xxx CV=no C="250 OK id=10HmaY-0005vi-00"
b32ddfaa 239 SMTP>> QUIT
2760b518 240 SMTP<< 221 myhost.test.ex closing connection
ae5afa61 241 SMTP(close)>>
b32ddfaa
JH
242----------- cutthrough shutdown (delivered) ------------
243LOG: MAIN
244 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
245LOG: MAIN
246 Completed
247LOG: smtp_connection MAIN
248 SMTP connection from CALLER closed by QUIT
9bfb7e1b 249>>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
b32ddfaa
JH
250Exim version x.yz ....
251configuration file is TESTSUITE/test-config
252admin user
253 in hosts_connection_nolog? no (option unset)
254LOG: smtp_connection MAIN
255 SMTP connection from CALLER
1b37ac39
JH
256 ┌considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
257 ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
258 └─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
50dc7409 259 in dsn_advertise_hosts? no (option unset)
b32ddfaa 260 in pipelining_advertise_hosts? yes (matched "*")
aa368db3 261 in chunking_advertise_hosts? no (end of list)
b32ddfaa 262 in tls_advertise_hosts? yes (matched "*")
1b37ac39
JH
263 ┌considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
264 ┌considering: SERVER}{server}{queue}{cutthrough}}
265 ├──expanding: SERVER
266 └─────result: SERVER
267 ┌considering: server}{queue}{cutthrough}}
268 ├──expanding: server
269 └─────result: server
270 ├──condition: eq {SERVER}{server}
271 ├─────result: false
272 ┌───scanning: queue}{cutthrough}}
273 ├──expanding: queue
274 ├─────result: queue
275 └───skipping: result is not used
276 ┌considering: cutthrough}}
277 ├──expanding: cutthrough
278 └─────result: cutthrough
279 ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
280 └─────result: cutthrough
b32ddfaa
JH
281using ACL "cutthrough"
282processing "accept"
283check control = cutthrough_delivery
284check verify = recipient
285domain.com in "test.ex : *.test.ex"? no (end of list)
286domain.com in "! +local_domains"? yes (end of list)
1b37ac39
JH
287 ┌considering: $local_part
288 ├──expanding: $local_part
289 └─────result: usery
b32ddfaa
JH
290domain.com in "*"? yes (matched "*")
291----------- end verify ------------
292accept: condition test succeeded in ACL "cutthrough"
a7538db1 293end of ACL "cutthrough": ACCEPT
b32ddfaa
JH
294----------- start cutthrough setup ------------
295domain.com in "test.ex : *.test.ex"? no (end of list)
296domain.com in "! +local_domains"? yes (end of list)
1b37ac39
JH
297 ┌considering: $local_part
298 ├──expanding: $local_part
299 └─────result: usery
b32ddfaa 300domain.com in "*"? yes (matched "*")
cb340d8d 301Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
1b37ac39
JH
302 ┌considering: $primary_hostname
303 ├──expanding: $primary_hostname
304 └─────result: myhost.test.ex
b32ddfaa
JH
305 SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
306127.0.0.1 in hosts_avoid_esmtp? no (option unset)
307 SMTP>> EHLO myhost.test.ex
76003495 308cmd buf flush ddd bytes
b32ddfaa
JH
309 SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
310 250-SIZE 52428800
311 250-8BITMIME
312 250-PIPELINING
313 250-STARTTLS
314 250 HELP
1b37ac39
JH
315 ┌considering: ${if eq {$address_data}{usery}{*}{:}}
316 ┌considering: $address_data}{usery}{*}{:}}
317 ├──expanding: $address_data
318 └─────result: usery
319 ┌considering: usery}{*}{:}}
320 ├──expanding: usery
321 └─────result: usery
322 ├──condition: eq {$address_data}{usery}
323 ├─────result: true
324 ┌considering: *}{:}}
325 ├──expanding: *
326 └─────result: *
327 ┌───scanning: :}}
328 ├──expanding: :
329 ├─────result: :
330 └───skipping: result is not used
331 ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
332 └─────result: *
b32ddfaa 333127.0.0.1 in hosts_avoid_tls? yes (matched "*")
02b41d71
JH
334127.0.0.1 in hosts_avoid_pipelining? no (option unset)
335using PIPELINING
336not using DSN
fcc8e047 337127.0.0.1 in hosts_require_auth? no (option unset)
14de8063 338 SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
b32ddfaa 339 SMTP>> RCPT TO:<usery@domain.com>
76003495 340cmd buf flush ddd bytes
7c576fca 341sync_responses expect mail
e9166683 342 SMTP<< 250 OK
7c576fca 343sync_responses expect rcpt
b32ddfaa 344 SMTP<< 250 Accepted
8b9476ba 345holding verify callout open for cutthrough delivery
b32ddfaa
JH
346----------- end cutthrough setup ------------
347processing "accept"
348accept: condition test succeeded in inline ACL
a7538db1 349end of inline ACL: ACCEPT
b32ddfaa
JH
350 SMTP>> DATA
351 SMTP<< 354 Enter message, ending with "." on a line by itself
1b37ac39
JH
352 ┌considering: ${tod_full}
353 ├──expanding: ${tod_full}
354 └─────result: Tue, 2 Mar 1999 09:44:33 +0000
355 ┌considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 356 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 357 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
358 ${if def:sender_address {(envelope-from <$sender_address>)
359 }}id $message_exim_id${if def:received_for {
360 for $received_for}}
1b37ac39
JH
361 ├──condition: def:sender_rcvhost
362 ├─────result: false
363 ┌───scanning: from $sender_rcvhost
f9913671 364 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 365 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
366 ${if def:sender_address {(envelope-from <$sender_address>)
367 }}id $message_exim_id${if def:received_for {
368 for $received_for}}
1b37ac39 369 ├──expanding: from $sender_rcvhost
f9913671 370
1b37ac39 371 ├─────result: from
f9913671 372
1b37ac39
JH
373 └───skipping: result is not used
374 ┌considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 375 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
376 ${if def:sender_address {(envelope-from <$sender_address>)
377 }}id $message_exim_id${if def:received_for {
378 for $received_for}}
1b37ac39
JH
379 ├──condition: def:sender_ident
380 ├─────result: true
381 ┌considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 382 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
383 ${if def:sender_address {(envelope-from <$sender_address>)
384 }}id $message_exim_id${if def:received_for {
385 for $received_for}}
386 ╎┌considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 387 ╎ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (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}}
391 ╎├──expanding: $sender_ident
392 ╎└─────result: CALLER
1b37ac39
JH
393 ├──expanding: from ${quote_local_part:$sender_ident}
394 └─────result: from CALLER
395 ├──condition: def:sender_helo_name
396 ├─────result: true
397 ┌considering: (helo=$sender_helo_name)
492fd282 398 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
399 ${if def:sender_address {(envelope-from <$sender_address>)
400 }}id $message_exim_id${if def:received_for {
401 for $received_for}}
1b37ac39 402 ├──expanding: (helo=$sender_helo_name)
f9913671 403
1b37ac39 404 └─────result: (helo=myhost.test.ex)
f9913671 405
1b37ac39 406 ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f9913671 407 }}
1b37ac39 408 └─────result: from CALLER (helo=myhost.test.ex)
f9913671 409
1b37ac39
JH
410 ├──condition: def:received_protocol
411 ├─────result: true
492fd282 412 ┌considering: with $received_protocol}} (Exim $version_number)
f9913671
JH
413 ${if def:sender_address {(envelope-from <$sender_address>)
414 }}id $message_exim_id${if def:received_for {
415 for $received_for}}
1b37ac39
JH
416 ├──expanding: with $received_protocol
417 └─────result: with local-esmtp
1b37ac39
JH
418 ├──condition: def:sender_address
419 ├─────result: true
420 ┌considering: (envelope-from <$sender_address>)
f9913671
JH
421 }}id $message_exim_id${if def:received_for {
422 for $received_for}}
1b37ac39 423 ├──expanding: (envelope-from <$sender_address>)
f9913671 424
1b37ac39 425 └─────result: (envelope-from <CALLER@myhost.test.ex>)
f9913671 426
1b37ac39
JH
427 ├──condition: def:received_for
428 ├─────result: true
429 ┌considering:
f9913671 430 for $received_for}}
1b37ac39 431 ├──expanding:
f9913671 432 for $received_for
1b37ac39 433 └─────result:
f9913671 434 for usery@domain.com
1b37ac39 435 ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 436 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 437 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
438 ${if def:sender_address {(envelope-from <$sender_address>)
439 }}id $message_exim_id${if def:received_for {
440 for $received_for}}
1b37ac39 441 └─────result: Received: from CALLER (helo=myhost.test.ex)
f9913671
JH
442 by myhost.test.ex with local-esmtp (Exim x.yz)
443 (envelope-from <CALLER@myhost.test.ex>)
444 id 10HmaZ-0005vi-00
445 for usery@domain.com
511a6c14
JH
446----------- start cutthrough headers send -----------
447----------- done cutthrough headers send ------------
1b37ac39
JH
448 ┌considering: ${tod_full}
449 ├──expanding: ${tod_full}
450 └─────result: Tue, 2 Mar 1999 09:44:33 +0000
b32ddfaa 451 SMTP>> .
d4dc049f 452 SMTP<< 250 OK id=10HmbA-0005vi-00
b32ddfaa 453LOG: MAIN
d4dc049f 454 >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbA-0005vi-00"
b32ddfaa 455 SMTP>> QUIT
2760b518 456 SMTP<< 221 myhost.test.ex closing connection
ae5afa61 457 SMTP(close)>>
b32ddfaa
JH
458----------- cutthrough shutdown (delivered) ------------
459LOG: MAIN
460 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
461LOG: MAIN
462 Completed
463LOG: smtp_connection MAIN
464 SMTP connection from CALLER closed by QUIT
9bfb7e1b 465>>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
99400968
JH
466Exim version x.yz ....
467configuration file is TESTSUITE/test-config
468admin user
469 in hosts_connection_nolog? no (option unset)
470LOG: smtp_connection MAIN
471 SMTP connection from CALLER
1b37ac39
JH
472 ┌considering: $smtp_active_hostname ESMTP Exim $version_number $tod_full
473 ├──expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
474 └─────result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
50dc7409 475 in dsn_advertise_hosts? no (option unset)
99400968 476 in pipelining_advertise_hosts? yes (matched "*")
aa368db3 477 in chunking_advertise_hosts? no (end of list)
99400968 478 in tls_advertise_hosts? yes (matched "*")
1b37ac39
JH
479 ┌considering: ${if eq {SERVER}{server}{queue}{cutthrough}}
480 ┌considering: SERVER}{server}{queue}{cutthrough}}
481 ├──expanding: SERVER
482 └─────result: SERVER
483 ┌considering: server}{queue}{cutthrough}}
484 ├──expanding: server
485 └─────result: server
486 ├──condition: eq {SERVER}{server}
487 ├─────result: false
488 ┌───scanning: queue}{cutthrough}}
489 ├──expanding: queue
490 ├─────result: queue
491 └───skipping: result is not used
492 ┌considering: cutthrough}}
493 ├──expanding: cutthrough
494 └─────result: cutthrough
495 ├──expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
496 └─────result: cutthrough
99400968
JH
497using ACL "cutthrough"
498processing "accept"
499check control = cutthrough_delivery
500check verify = recipient
501domain.com in "test.ex : *.test.ex"? no (end of list)
502domain.com in "! +local_domains"? yes (end of list)
1b37ac39
JH
503 ┌considering: $local_part
504 ├──expanding: $local_part
505 └─────result: usery
99400968
JH
506domain.com in "*"? yes (matched "*")
507----------- end verify ------------
508accept: condition test succeeded in ACL "cutthrough"
a7538db1 509end of ACL "cutthrough": ACCEPT
99400968
JH
510----------- start cutthrough setup ------------
511domain.com in "test.ex : *.test.ex"? no (end of list)
512domain.com in "! +local_domains"? yes (end of list)
1b37ac39
JH
513 ┌considering: $local_part
514 ├──expanding: $local_part
515 └─────result: usery
99400968 516domain.com in "*"? yes (matched "*")
cb340d8d 517Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
1b37ac39
JH
518 ┌considering: $primary_hostname
519 ├──expanding: $primary_hostname
520 └─────result: myhost.test.ex
99400968
JH
521 SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
522127.0.0.1 in hosts_avoid_esmtp? no (option unset)
523 SMTP>> EHLO myhost.test.ex
76003495 524cmd buf flush ddd bytes
99400968
JH
525 SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
526 250-SIZE 52428800
527 250-8BITMIME
528 250-PIPELINING
529 250-STARTTLS
530 250 HELP
1b37ac39
JH
531 ┌considering: ${if eq {$address_data}{usery}{*}{:}}
532 ┌considering: $address_data}{usery}{*}{:}}
533 ├──expanding: $address_data
534 └─────result: usery
535 ┌considering: usery}{*}{:}}
536 ├──expanding: usery
537 └─────result: usery
538 ├──condition: eq {$address_data}{usery}
539 ├─────result: true
540 ┌considering: *}{:}}
541 ├──expanding: *
542 └─────result: *
543 ┌───scanning: :}}
544 ├──expanding: :
545 ├─────result: :
546 └───skipping: result is not used
547 ├──expanding: ${if eq {$address_data}{usery}{*}{:}}
548 └─────result: *
99400968 549127.0.0.1 in hosts_avoid_tls? yes (matched "*")
02b41d71
JH
550127.0.0.1 in hosts_avoid_pipelining? no (option unset)
551using PIPELINING
552not using DSN
fcc8e047 553127.0.0.1 in hosts_require_auth? no (option unset)
14de8063 554 SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
99400968 555 SMTP>> RCPT TO:<usery@domain.com>
76003495 556cmd buf flush ddd bytes
7c576fca 557sync_responses expect mail
e9166683 558 SMTP<< 250 OK
7c576fca 559sync_responses expect rcpt
99400968 560 SMTP<< 250 Accepted
8b9476ba 561holding verify callout open for cutthrough delivery
99400968
JH
562----------- end cutthrough setup ------------
563processing "accept"
564accept: condition test succeeded in inline ACL
a7538db1 565end of inline ACL: ACCEPT
99400968
JH
566 SMTP>> DATA
567 SMTP<< 354 Enter message, ending with "." on a line by itself
1b37ac39
JH
568 ┌considering: ${tod_full}
569 ├──expanding: ${tod_full}
570 └─────result: Tue, 2 Mar 1999 09:44:33 +0000
571 ┌considering: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 572 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 573 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
574 ${if def:sender_address {(envelope-from <$sender_address>)
575 }}id $message_exim_id${if def:received_for {
576 for $received_for}}
1b37ac39
JH
577 ├──condition: def:sender_rcvhost
578 ├─────result: false
579 ┌───scanning: from $sender_rcvhost
f9913671 580 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 581 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
582 ${if def:sender_address {(envelope-from <$sender_address>)
583 }}id $message_exim_id${if def:received_for {
584 for $received_for}}
1b37ac39 585 ├──expanding: from $sender_rcvhost
f9913671 586
1b37ac39 587 ├─────result: from
f9913671 588
1b37ac39
JH
589 └───skipping: result is not used
590 ┌considering: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 591 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
592 ${if def:sender_address {(envelope-from <$sender_address>)
593 }}id $message_exim_id${if def:received_for {
594 for $received_for}}
1b37ac39
JH
595 ├──condition: def:sender_ident
596 ├─────result: true
597 ┌considering: from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 598 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
599 ${if def:sender_address {(envelope-from <$sender_address>)
600 }}id $message_exim_id${if def:received_for {
601 for $received_for}}
602 ╎┌considering: $sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 603 ╎ }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
604 ╎ ${if def:sender_address {(envelope-from <$sender_address>)
605 ╎ }}id $message_exim_id${if def:received_for {
606 ╎ for $received_for}}
607 ╎├──expanding: $sender_ident
608 ╎└─────result: CALLER
1b37ac39
JH
609 ├──expanding: from ${quote_local_part:$sender_ident}
610 └─────result: from CALLER
611 ├──condition: def:sender_helo_name
612 ├─────result: true
613 ┌considering: (helo=$sender_helo_name)
492fd282 614 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
615 ${if def:sender_address {(envelope-from <$sender_address>)
616 }}id $message_exim_id${if def:received_for {
617 for $received_for}}
1b37ac39 618 ├──expanding: (helo=$sender_helo_name)
f9913671 619
1b37ac39 620 └─────result: (helo=myhost.test.ex)
f9913671 621
1b37ac39 622 ├──expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
f9913671 623 }}
1b37ac39 624 └─────result: from CALLER (helo=myhost.test.ex)
f9913671 625
1b37ac39
JH
626 ├──condition: def:received_protocol
627 ├─────result: true
492fd282 628 ┌considering: with $received_protocol}} (Exim $version_number)
f9913671
JH
629 ${if def:sender_address {(envelope-from <$sender_address>)
630 }}id $message_exim_id${if def:received_for {
631 for $received_for}}
1b37ac39
JH
632 ├──expanding: with $received_protocol
633 └─────result: with local-esmtp
1b37ac39
JH
634 ├──condition: def:sender_address
635 ├─────result: true
636 ┌considering: (envelope-from <$sender_address>)
f9913671
JH
637 }}id $message_exim_id${if def:received_for {
638 for $received_for}}
1b37ac39 639 ├──expanding: (envelope-from <$sender_address>)
f9913671 640
1b37ac39 641 └─────result: (envelope-from <CALLER@myhost.test.ex>)
f9913671 642
1b37ac39
JH
643 ├──condition: def:received_for
644 ├─────result: true
645 ┌considering:
f9913671 646 for $received_for}}
1b37ac39 647 ├──expanding:
f9913671 648 for $received_for
1b37ac39 649 └─────result:
f9913671 650 for usery@domain.com
1b37ac39 651 ├──expanding: Received: ${if def:sender_rcvhost {from $sender_rcvhost
f9913671 652 }{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
492fd282 653 }}}}by $primary_hostname ${if def:received_protocol {with $received_protocol}} (Exim $version_number)
f9913671
JH
654 ${if def:sender_address {(envelope-from <$sender_address>)
655 }}id $message_exim_id${if def:received_for {
656 for $received_for}}
1b37ac39 657 └─────result: Received: from CALLER (helo=myhost.test.ex)
f9913671
JH
658 by myhost.test.ex with local-esmtp (Exim x.yz)
659 (envelope-from <CALLER@myhost.test.ex>)
660 id 10HmbB-0005vi-00
661 for usery@domain.com
511a6c14
JH
662----------- start cutthrough headers send -----------
663----------- done cutthrough headers send ------------
1b37ac39
JH
664 ┌considering: ${tod_full}
665 ├──expanding: ${tod_full}
666 └─────result: Tue, 2 Mar 1999 09:44:33 +0000
99400968 667 SMTP>> .
d4dc049f 668 SMTP<< 250 OK id=10HmbC-0005vi-00
99400968 669LOG: MAIN
d4dc049f 670 >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbC-0005vi-00"
99400968 671 SMTP>> QUIT
2760b518 672 SMTP<< 221 myhost.test.ex closing connection
ae5afa61 673 SMTP(close)>>
99400968
JH
674----------- cutthrough shutdown (delivered) ------------
675LOG: MAIN
676 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
677LOG: MAIN
678 Completed
679LOG: smtp_connection MAIN
680 SMTP connection from CALLER closed by QUIT
9bfb7e1b 681>>>>>>>>>>>>>>>> Exim pid=pppp (msg setup toplevel) terminating with rc=0 >>>>>>>>>>>>>>>>
b32ddfaa
JH
682
683******** SERVER ********