f81b7d8c74f89928a6477e57ddf2babd9716af0e
[exim.git] / test / scripts / 1100-Basic-TLS / 1110
1 # TLS server: -tls-on-connect
2 gnutls
3 exim -DSERVER=server -tls-on-connect -bd -oX PORT_D
4 ****
5 client-anytls -tls-on-connect 127.0.0.1 PORT_D
6 ??? 220
7 ehlo rhu.barb
8 ??? 250-
9 ??? 250-
10 ??? 250-
11 ??? 250-
12 ??? 250
13 mail from:<userx@test.ex>
14 ??? 250
15 rcpt to:<userx@test.ex>
16 ??? 250
17 DATA
18 ??? 3
19 This is a test encrypted message.
20 .
21 ??? 250
22 quit
23 ??? 221
24 ****
25 client-anytls -tls-on-connect HOSTIPV4 PORT_D aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.pem aux-fixed/exim-ca/example.org/server2.example.org/server2.example.org.unlocked.key
26 ??? 220
27 helo test
28 ??? 250
29 mail from:<userx@test.ex>
30 ??? 250
31 rcpt to:<userx@test.ex>
32 ??? 250
33 DATA
34 ??? 3
35 This is a test encrypted message from a verified host.
36 .
37 ??? 250
38 quit
39 ??? 221
40 ****
41 killdaemon
42 exim -qf
43 ****