Testsuite: make debug output for proxied TLS less indeterminate
[exim.git] / test / scripts / 2100-OpenSSL / 2102
1 # TLS server: general ops and certificate extractions
2 exim -DSERVER=server -bd -oX PORT_D
3 ****
4 client-ssl 127.0.0.1 PORT_D
5 ??? 220
6 ehlo rhu.barb
7 ??? 250-
8 ??? 250-
9 ??? 250-
10 ??? 250-
11 ??? 250-
12 ??? 250
13 starttls
14 ??? 220
15 mail from:<CALLER@test.ex>
16 ??? 250
17 rcpt to:<CALLER@test.ex>
18 ??? 250
19 DATA
20 ??? 3
21 This is a test encrypted message.
22 .
23 ??? 250
24 quit
25 ??? 221
26 ****
27 client-ssl 127.0.0.1 PORT_D
28 ??? 220
29 ehlo rhu.barb
30 ??? 250-
31 ??? 250-
32 ??? 250-
33 ??? 250-
34 ??? 250-
35 ??? 250
36 starttls
37 ??? 220
38 mail from:<"name with spaces"@test.ex>
39 ??? 250
40 rcpt to:<CALLER@test.ex>
41 ??? 250
42 DATA
43 ??? 3
44 This is a test encrypted message.
45 .
46 ??? 250
47 quit
48 ??? 221
49 ****
50 # nonloop addr conn rejected lacking cert
51 client-ssl HOSTIPV4 PORT_D
52 ??? 220
53 ehlo rhu.barb
54 ??? 250-
55 ??? 250-
56 ??? 250-
57 ??? 250-
58 ??? 250-
59 ??? 250
60 starttls
61 ??? 220 TLS go ahead
62 +++ 1
63 help
64 ??? 554
65 ****
66 client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.pem DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.unlocked.key
67 ??? 220
68 ehlo rhu.barb
69 ??? 250-
70 ??? 250-
71 ??? 250-
72 ??? 250-
73 ??? 250-
74 ??? 250
75 starttls
76 ??? 220
77 mail from:<CALLER@test.ex>
78 ??? 250
79 rcpt to:<CALLER@test.ex>
80 ??? 250
81 DATA
82 ??? 3
83 This is a test encrypted message from a verified host.
84 .
85 ??? 250
86 quit
87 ??? 221
88 ****
89 killdaemon
90 exim -qf
91 ****
92 exim -bh 10.0.0.1
93 starttls
94 quit
95 ****