4a12fb0bb344e0c178f46fe710d7b41c3cc50ea8
[exim.git] / test / scripts / 2100-OpenSSL / 2132
1 # TLS server: server ca cert from directory
2 exim -DSERVER=server -bd -oX PORT_D
3 ****
4 client-ssl 127.0.0.1 PORT_D
5 ??? 220
6 ehlo rhu.barb
7 ??? 250-
8 ??? 250-
9 ??? 250-
10 ??? 250-
11 ??? 250-
12 ??? 250
13 starttls
14 ??? 220
15 mail from:<CALLER@test.ex>
16 ??? 250
17 rcpt to:<CALLER@test.ex>
18 ??? 250
19 DATA
20 ??? 3
21 This is a test encrypted message.
22 .
23 ??? 250
24 quit
25 ??? 221
26 ****
27 client-ssl 127.0.0.1 PORT_D
28 ??? 220
29 ehlo rhu.barb
30 ??? 250-
31 ??? 250-
32 ??? 250-
33 ??? 250-
34 ??? 250-
35 ??? 250
36 starttls
37 ??? 220
38 mail from:<"name with spaces"@test.ex>
39 ??? 250
40 rcpt to:<CALLER@test.ex>
41 ??? 250
42 DATA
43 ??? 3
44 This is a test encrypted message.
45 .
46 ??? 250
47 quit
48 ??? 221
49 ****
50 client-ssl HOSTIPV4 PORT_D
51 ??? 220
52 ehlo rhu.barb
53 ??? 250-
54 ??? 250-
55 ??? 250-
56 ??? 250-
57 ??? 250-
58 ??? 250
59 starttls
60 ??? 220
61 +++ 1
62 help
63 ??? 554
64 ****
65 client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
66 ??? 220
67 ehlo rhu.barb
68 ??? 250-
69 ??? 250-
70 ??? 250-
71 ??? 250-
72 ??? 250-
73 ??? 250
74 starttls
75 ??? 220
76 mail from:<CALLER@test.ex>
77 ??? 250
78 rcpt to:<CALLER@test.ex>
79 ??? 250
80 DATA
81 ??? 3
82 This is a test encrypted message from a verified host.
83 .
84 ??? 250
85 quit
86 ??? 221
87 ****
88 killdaemon
89 exim -qf
90 ****
91 exim -bh 10.0.0.1
92 starttls
93 quit
94 ****