d0fa719caa90a51024435fcfb41ac305ca1e0f45
[exim.git] / test / scripts / 2100-OpenSSL / 2119
1 # TLS server: -tls-on-connect
2 exim -DSERVER=server -tls-on-connect -bd -oX PORT_D
3 ****
4 client-ssl -tls-on-connect 127.0.0.1 PORT_D
5 ??? 220
6 ehlo rhu.barb
7 ??? 250-
8 ??? 250-
9 ??? 250-
10 ??? 250
11 mail from:<userx@test.ex>
12 ??? 250
13 rcpt to:<userx@test.ex>
14 ??? 250
15 DATA
16 ??? 3
17 This is a test encrypted message.
18 .
19 ??? 250
20 quit
21 ??? 221
22 ****
23 client-ssl -tls-on-connect HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
24 ??? 220
25 mail from:<userx@test.ex>
26 ??? 250
27 rcpt to:<userx@test.ex>
28 ??? 250
29 DATA
30 ??? 3
31 This is a test encrypted message from a verified host.
32 .
33 ??? 250
34 quit
35 ??? 221
36 ****
37 killdaemon
38 exim -qf
39 ****