Build: check during make for perl script library requirements
[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 #
5 ### Should accept message
6 client-ssl 127.0.0.1 PORT_D
7 ??? 220
8 ehlo rhu.barb
9 ??? 250-
10 ??? 250-
11 ??? 250-
12 ??? 250-
13 ??? 250-
14 ??? 250
15 starttls
16 ??? 220
17 helo test
18 ??? 250
19 mail from:<CALLER@test.ex>
20 ??? 250
21 rcpt to:<CALLER@test.ex>
22 ??? 250
23 DATA
24 ??? 3
25 This is a test encrypted message.
26 .
27 ??? 250
28 quit
29 ??? 221
30 ****
31 ### Should accept message (with a difficult env-from)
32 client-ssl 127.0.0.1 PORT_D
33 ??? 220
34 ehlo rhu.barb
35 ??? 250-
36 ??? 250-
37 ??? 250-
38 ??? 250-
39 ??? 250-
40 ??? 250
41 starttls
42 ??? 220
43 helo test
44 ??? 250
45 mail from:<"name with spaces"@test.ex>
46 ??? 250
47 rcpt to:<CALLER@test.ex>
48 ??? 250
49 DATA
50 ??? 3
51 This is a test encrypted message.
52 .
53 ??? 250
54 quit
55 ??? 221
56 ****
57 ### client cert verify required; none given
58 client-ssl -t2 HOSTIPV4 PORT_D
59 ??? 220
60 ehlo rhu.barb
61 ??? 250-
62 ??? 250-
63 ??? 250-
64 ??? 250-
65 ??? 250-
66 ??? 250
67 starttls
68 ??? 220
69 noop
70 ????554
71 noop
72 ??? 554
73 ****
74 ### client cert verify required; good one supplied
75 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
76 ??? 220
77 ehlo rhu.barb
78 ??? 250-
79 ??? 250-
80 ??? 250-
81 ??? 250-
82 ??? 250-
83 ??? 250
84 starttls
85 ??? 220
86 helo test
87 ??? 250
88 mail from:<CALLER@test.ex>
89 ??? 250
90 rcpt to:<CALLER@test.ex>
91 ??? 250
92 DATA
93 ??? 3
94 This is a test encrypted message from a verified host.
95 .
96 ??? 250
97 quit
98 ??? 221
99 ****
100 killdaemon
101 exim -qf
102 ****
103 exim -bh 10.0.0.1
104 starttls
105 quit
106 ****