Testsuite: make "client" util TLS variants more similar
[exim.git] / test / stdout / 2132.openssl_1_1_1
CommitLineData
fd3cf789
JH
1### Should accept message
2Connecting to 127.0.0.1 port 1225 ... connected
3??? 220
4<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
5>>> ehlo rhu.barb
6??? 250-
7<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
8??? 250-
9<<< 250-SIZE 52428800
10??? 250-
11<<< 250-8BITMIME
12??? 250-
13<<< 250-PIPELINING
14??? 250-
15<<< 250-STARTTLS
16??? 250
17<<< 250 HELP
18>>> starttls
19??? 220
20<<< 220 TLS go ahead
21Attempting to start TLS
fd3cf789
JH
22Succeeded in starting TLS
23>>> mail from:<CALLER@test.ex>
24??? 250
25<<< 250 OK
26>>> rcpt to:<CALLER@test.ex>
27??? 250
28<<< 250 Accepted
29>>> DATA
30??? 3
31<<< 354 Enter message, ending with "." on a line by itself
32>>> This is a test encrypted message.
33>>> .
34??? 250
35<<< 250 OK id=10HmaX-0005vi-00
36>>> quit
37??? 221
38<<< 221 myhost.test.ex closing connection
39End of script
40### Should accept message (with a difficult env-from)
41Connecting to 127.0.0.1 port 1225 ... connected
42??? 220
43<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
44>>> ehlo rhu.barb
45??? 250-
46<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
47??? 250-
48<<< 250-SIZE 52428800
49??? 250-
50<<< 250-8BITMIME
51??? 250-
52<<< 250-PIPELINING
53??? 250-
54<<< 250-STARTTLS
55??? 250
56<<< 250 HELP
57>>> starttls
58??? 220
59<<< 220 TLS go ahead
60Attempting to start TLS
fd3cf789
JH
61Succeeded in starting TLS
62>>> mail from:<"name with spaces"@test.ex>
63??? 250
64<<< 250 OK
65>>> rcpt to:<CALLER@test.ex>
66??? 250
67<<< 250 Accepted
68>>> DATA
69??? 3
70<<< 354 Enter message, ending with "." on a line by itself
71>>> This is a test encrypted message.
72>>> .
73??? 250
74<<< 250 OK id=10HmaY-0005vi-00
75>>> quit
76??? 221
77<<< 221 myhost.test.ex closing connection
78End of script
79### client cert verify required; none given
80Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
81??? 220
82<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
83>>> ehlo rhu.barb
84??? 250-
85<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
86??? 250-
87<<< 250-SIZE 52428800
88??? 250-
89<<< 250-8BITMIME
90??? 250-
91<<< 250-PIPELINING
92??? 250-
93<<< 250-STARTTLS
94??? 250
95<<< 250 HELP
96>>> starttls
97??? 220
98<<< 220 TLS go ahead
99Attempting to start TLS
fd3cf789
JH
100Succeeded in starting TLS
101>>> noop
102????554
103error:dddddddd:SSL routines:ssl3_read_bytes:tlsv13 alert certificate required
104TLS terminated
105>>> noop
106??? 554
107<<< 554 Security failure
108End of script
109### client cert verify required; good one supplied
110Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
111Certificate file = TESTSUITE/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem
112Key file = TESTSUITE/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
113??? 220
114<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
115>>> ehlo rhu.barb
116??? 250-
117<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
118??? 250-
119<<< 250-SIZE 52428800
120??? 250-
121<<< 250-8BITMIME
122??? 250-
123<<< 250-PIPELINING
124??? 250-
125<<< 250-STARTTLS
126??? 250
127<<< 250 HELP
128>>> starttls
129??? 220
130<<< 220 TLS go ahead
131Attempting to start TLS
fd3cf789
JH
132Succeeded in starting TLS
133>>> mail from:<CALLER@test.ex>
134??? 250
135<<< 250 OK
136>>> rcpt to:<CALLER@test.ex>
137??? 250
138<<< 250 Accepted
139>>> DATA
140??? 3
141<<< 354 Enter message, ending with "." on a line by itself
142>>> This is a test encrypted message from a verified host.
143>>> .
144??? 250
145<<< 250 OK id=10HmaZ-0005vi-00
146>>> quit
147??? 221
148<<< 221 myhost.test.ex closing connection
149End of script
150
151**** SMTP testing session as if from host 10.0.0.1
152**** but without any ident (RFC 1413) callback.
153**** This is not for real!
154
155220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000\r
156503 STARTTLS command used when not advertised\r
157221 myhost.test.ex closing connection\r
158
159******** SERVER ********
160### Should accept message
161### Should accept message (with a difficult env-from)
162### client cert verify required; none given
163### client cert verify required; good one supplied