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