Testsuite: more connect-time munge tweaking
[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 ??? 250
14 mail from:<userx@test.ex>
15 ??? 250
16 rcpt to:<userx@test.ex>
17 ??? 250
18 DATA
19 ??? 3
20 This is a test encrypted message.
21 .
22 ??? 250
23 quit
24 ??? 221
25 ****
26 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
27 ??? 220
28 helo test
29 ??? 250
30 mail from:<userx@test.ex>
31 ??? 250
32 rcpt to:<userx@test.ex>
33 ??? 250
34 DATA
35 ??? 3
36 This is a test encrypted message from a verified host.
37 .
38 ??? 250
39 quit
40 ??? 221
41 ****
42 killdaemon
43 exim -qf
44 ****