5c9598c66bec99209deb493d4289d1036a683eef
[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