Testsuite: add tests/munges for configure owner
[exim.git] / test / scripts / 2000-GnuTLS / 2002
1 # TLS server: general ops and certificate extractions
2 gnutls
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 client-gnutls 127.0.0.1 PORT_D
6 ??? 220
7 ehlo rhu.barb
8 ??? 250-
9 ??? 250-
10 ??? 250-
11 ??? 250-
12 ??? 250-
13 ??? 250
14 starttls
15 ??? 220
16 mail from:<CALLER@test.ex>
17 ??? 250
18 rcpt to:<CALLER@test.ex>
19 ??? 250
20 DATA
21 ??? 3
22 This is a test encrypted message.
23 .
24 ??? 250
25 quit
26 ??? 221
27 ****
28 client-gnutls 127.0.0.1 PORT_D
29 ??? 220
30 ehlo rhu.barb
31 ??? 250-
32 ??? 250-
33 ??? 250-
34 ??? 250-
35 ??? 250-
36 ??? 250
37 starttls
38 ??? 220
39 mail from:<"name with spaces"@test.ex>
40 ??? 250
41 rcpt to:<CALLER@test.ex>
42 ??? 250
43 DATA
44 ??? 3
45 This is a test encrypted message.
46 .
47 ??? 250
48 quit
49 ??? 221
50 ****
51 client-gnutls 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
62 ****
63 client-gnutls 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
64 ??? 220
65 ehlo rhu.barb
66 ??? 250-
67 ??? 250-
68 ??? 250-
69 ??? 250-
70 ??? 250-
71 ??? 250
72 starttls
73 ??? 220
74 mail from:<CALLER@test.ex>
75 ??? 250
76 rcpt to:<CALLER@test.ex>
77 ??? 250
78 DATA
79 ??? 3
80 This is a test encrypted message from a verified host.
81 .
82 ??? 250
83 quit
84 ??? 221
85 ****
86 killdaemon
87 exim -qf
88 ****
89 exim -bh 10.0.0.1
90 starttls
91 quit
92 ****