Testsuite: make "client" util TLS variants more similar
[exim.git] / test / stdout / 2132
CommitLineData
90788405 1### Should accept message
a7fec7a7
JH
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
a7fec7a7
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
90788405 40### Should accept message (with a difficult env-from)
a7fec7a7
JH
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
a7fec7a7
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
90788405 79### client cert verify required; none given
a7fec7a7
JH
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
12373afb 100pppp:error:dddddddd:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:[...]:SSL alert number 40
a7fec7a7 101Failed to start TLS
90788405
JH
102>>> noop
103????554
104>>> noop
bb07bcd3
JH
105??? 554
106<<< 554 Security failure
a7fec7a7 107End of script
90788405 108### client cert verify required; good one supplied
a7fec7a7
JH
109Connecting to ip4.ip4.ip4.ip4 port 1225 ... connected
110Certificate file = TESTSUITE/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem
111Key file = TESTSUITE/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
112??? 220
113<<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
114>>> ehlo rhu.barb
115??? 250-
116<<< 250-myhost.test.ex Hello rhu.barb [ip4.ip4.ip4.ip4]
117??? 250-
118<<< 250-SIZE 52428800
119??? 250-
120<<< 250-8BITMIME
121??? 250-
122<<< 250-PIPELINING
123??? 250-
124<<< 250-STARTTLS
125??? 250
126<<< 250 HELP
127>>> starttls
128??? 220
129<<< 220 TLS go ahead
130Attempting to start TLS
a7fec7a7
JH
131Succeeded in starting TLS
132>>> mail from:<CALLER@test.ex>
133??? 250
134<<< 250 OK
135>>> rcpt to:<CALLER@test.ex>
136??? 250
137<<< 250 Accepted
138>>> DATA
139??? 3
140<<< 354 Enter message, ending with "." on a line by itself
141>>> This is a test encrypted message from a verified host.
142>>> .
143??? 250
144<<< 250 OK id=10HmaZ-0005vi-00
145>>> quit
146??? 221
147<<< 221 myhost.test.ex closing connection
148End of script
149
150**** SMTP testing session as if from host 10.0.0.1
151**** but without any ident (RFC 1413) callback.
152**** This is not for real!
153
154220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000\r
155503 STARTTLS command used when not advertised\r
156221 myhost.test.ex closing connection\r
90788405
JH
157
158******** SERVER ********
159### Should accept message
160### Should accept message (with a difficult env-from)
161### client cert verify required; none given
162### client cert verify required; good one supplied