summaryrefslogtreecommitdiff
path: root/test/scripts/5410-cutthrough-OpenSSL/5410
blob: d276f04b0737764b3147cde480ff1acaaa46983c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# cutthrough_delivery to target offering TLS
#
munge optional_cert_hostnames
#
exim -DSERVER=server -bd -oX PORT_D
****
# this one should succeed
exim -d-all+acl+transport+expand+lists -bs
EHLO myhost.test.ex
MAIL FROM:<CALLER@myhost.test.ex>
RCPT TO:<userx@domain.com>
DATA

.
QUIT
****
# via a transport setting hosts_avoid_tls
# so this one should not use TLS
exim -d-all+acl+transport+expand+lists -bs
EHLO myhost.test.ex
MAIL FROM:<CALLER@myhost.test.ex>
RCPT TO:<usery@domain.com>
DATA

.
QUIT
****
# via a transport setting hosts_verify_avoid_tls
# so this one should not use TLS
exim -d-all+acl+transport+expand+lists -bs
EHLO myhost.test.ex
MAIL FROM:<CALLER@myhost.test.ex>
RCPT TO:<usery@domain.com>
DATA

.
QUIT
****
killdaemon
no_msglog_check