Support transport-added headers under cutthrough delivery. Bug 1431
[users/jgh/exim.git] / test / scripts / 5410-cutthrough-OpenSSL / 5410
1 # cutthrough_delivery to target offerring TLS
2 exim -DSERVER=server -bd -oX PORT_D
3 ****
4 # this one should succeed
5 exim -d-all+acl+transport+expand+lists -bs
6 EHLO myhost.test.ex
7 MAIL FROM:<CALLER@myhost.test.ex>
8 RCPT TO:<userx@domain.com>
9 DATA
10
11 .
12 QUIT
13 ****
14 # via a transport setting hosts_avoid_tls
15 # so this one should not use TLS
16 exim -d-all+acl+transport+expand+lists -bs
17 EHLO myhost.test.ex
18 MAIL FROM:<CALLER@myhost.test.ex>
19 RCPT TO:<usery@domain.com>
20 DATA
21
22 .
23 QUIT
24 ****
25 # via a transport setting hosts_verify_avoid_tls
26 # so this one should not use TLS
27 exim -d-all+acl+transport+expand+lists -bs
28 EHLO myhost.test.ex
29 MAIL FROM:<CALLER@myhost.test.ex>
30 RCPT TO:<usery@domain.com>
31 DATA
32
33 .
34 QUIT
35 ****
36 killdaemon
37 no_msglog_check