Testsuite: make "client" util TLS variants more similar
[exim.git] / test / stdout / 2102
CommitLineData
54c5ebb1
PH
1Connecting to 127.0.0.1 port 1225 ... connected
2??? 220
3<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
4>>> ehlo rhu.barb
5??? 250-
6<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
7??? 250-
8<<< 250-SIZE 52428800
9??? 250-
5b456975
JH
10<<< 250-8BITMIME
11??? 250-
54c5ebb1
PH
12<<< 250-PIPELINING
13??? 250-
14<<< 250-STARTTLS
15??? 250
16<<< 250 HELP
17>>> starttls
18??? 220
19<<< 220 TLS go ahead
20Attempting to start TLS
54c5ebb1
PH
21Succeeded in starting TLS
22>>> mail from:<CALLER@test.ex>
23??? 250
24<<< 250 OK
25>>> rcpt to:<CALLER@test.ex>
26??? 250
27<<< 250 Accepted
28>>> DATA
29??? 3
30<<< 354 Enter message, ending with "." on a line by itself
31>>> This is a test encrypted message.
32>>> .
33??? 250
34<<< 250 OK id=10HmaX-0005vi-00
35>>> quit
36??? 221
37<<< 221 myhost.test.ex closing connection
38End of script
fd98a5c6
JH
39Connecting to 127.0.0.1 port 1225 ... connected
40??? 220
41<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
42>>> ehlo rhu.barb
43??? 250-
44<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
45??? 250-
46<<< 250-SIZE 52428800
47??? 250-
48<<< 250-8BITMIME
49??? 250-
50<<< 250-PIPELINING
51??? 250-
52<<< 250-STARTTLS
53??? 250
54<<< 250 HELP
55>>> starttls
56??? 220
57<<< 220 TLS go ahead
58Attempting to start TLS
fd98a5c6
JH
59Succeeded in starting TLS
60>>> mail from:<"name with spaces"@test.ex>
61??? 250
62<<< 250 OK
63>>> rcpt to:<CALLER@test.ex>
64??? 250
65<<< 250 Accepted
66>>> DATA
67??? 3
68<<< 354 Enter message, ending with "." on a line by itself
69>>> This is a test encrypted message.
70>>> .
71??? 250
72<<< 250 OK id=10HmaY-0005vi-00
73>>> quit
74??? 221
75<<< 221 myhost.test.ex closing connection
76End of script
54c5ebb1
PH
77Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
78??? 220
79<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
80>>> ehlo rhu.barb
81??? 250-
82<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
83??? 250-
84<<< 250-SIZE 52428800
85??? 250-
5b456975
JH
86<<< 250-8BITMIME
87??? 250-
54c5ebb1
PH
88<<< 250-PIPELINING
89??? 250-
90<<< 250-STARTTLS
91??? 250
92<<< 250 HELP
93>>> starttls
131c0f8a 94??? 220 TLS go ahead
54c5ebb1
PH
95<<< 220 TLS go ahead
96Attempting to start TLS
12373afb 97pppp:error:dddddddd:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:[...]:SSL alert number 40
54c5ebb1 98Failed to start TLS
131c0f8a
JH
99+++ 1
100>>> help
101??? 554
102<<< 554 Security failure
54c5ebb1
PH
103End of script
104Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
9d1c15ef
JH
105Certificate file = TESTSUITE/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.pem
106Key file = TESTSUITE/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.unlocked.key
54c5ebb1
PH
107??? 220
108<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
109>>> ehlo rhu.barb
110??? 250-
111<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
112??? 250-
113<<< 250-SIZE 52428800
114??? 250-
5b456975
JH
115<<< 250-8BITMIME
116??? 250-
54c5ebb1
PH
117<<< 250-PIPELINING
118??? 250-
119<<< 250-STARTTLS
120??? 250
121<<< 250 HELP
122>>> starttls
123??? 220
124<<< 220 TLS go ahead
125Attempting to start TLS
54c5ebb1
PH
126Succeeded in starting TLS
127>>> mail from:<CALLER@test.ex>
128??? 250
129<<< 250 OK
130>>> rcpt to:<CALLER@test.ex>
131??? 250
132<<< 250 Accepted
133>>> DATA
134??? 3
135<<< 354 Enter message, ending with "." on a line by itself
136>>> This is a test encrypted message from a verified host.
137>>> .
138??? 250
fd98a5c6 139<<< 250 OK id=10HmaZ-0005vi-00
54c5ebb1
PH
140>>> quit
141??? 221
142<<< 221 myhost.test.ex closing connection
143End of script
ba86e143
JH
144Connecting to 127.0.0.1 port 1225 ... connected
145??? 220
146<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
147>>> ehlo rhu.barb
148??? 250-
149<<< 250-myhost.test.ex Hello rhu.barb [127.0.0.1]
150??? 250-
151<<< 250-SIZE 52428800
152??? 250-
153<<< 250-8BITMIME
154??? 250-
155<<< 250-PIPELINING
156??? 250-
157<<< 250-STARTTLS
158??? 250
159<<< 250 HELP
160>>> starttls
161??? 220
162<<< 220 TLS go ahead
163Attempting to start TLS
ba86e143
JH
164Succeeded in starting TLS
165>>> mail from:<CALLER@test.ex>
166??? 250
167<<< 250 OK
168>>> rcpt to:<CALLER@test.ex>
169??? 250
170<<< 250 Accepted
171>>> DATA
172??? 3
173<<< 354 Enter message, ending with "." on a line by itself
174>>> This is a test encrypted message.
175>>> It should be sent under the EC server cert and with an ECDSA cipher.
176>>> .
177??? 250
178<<< 250 OK id=10HmbA-0005vi-00
179>>> quit
180??? 221
181<<< 221 myhost.test.ex closing connection
182End of script
54c5ebb1
PH
183
184**** SMTP testing session as if from host 10.0.0.1
185**** but without any ident (RFC 1413) callback.
186**** This is not for real!
187
188220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000\r
189503 STARTTLS command used when not advertised\r
190221 myhost.test.ex closing connection\r