28d2de0ef95a9c8dd264084d94f82c0e867cf5de
[exim.git] / test / scripts / 2000-GnuTLS / 2019
1 # TLS server: -tls-on-connect
2 gnutls
3 exim -DSERVER=server -tls-on-connect -bd -oX PORT_D
4 ****
5 client-gnutls -tls-on-connect 127.0.0.1 PORT_D
6 ??? 220
7 ehlo rhu.barb
8 ??? 250-
9 ??? 250-
10 ??? 250-
11 ??? 250
12 mail from:<userx@test.ex>
13 ??? 250
14 rcpt to:<userx@test.ex>
15 ??? 250
16 DATA
17 ??? 3
18 This is a test encrypted message.
19 .
20 ??? 250
21 quit
22 ??? 221
23 ****
24 client-gnutls -tls-on-connect HOSTIPV4 PORT_D aux-fixed/cert2 aux-fixed/cert2
25 ??? 220
26 mail from:<userx@test.ex>
27 ??? 250
28 rcpt to:<userx@test.ex>
29 ??? 250
30 DATA
31 ??? 3
32 This is a test encrypted message from a verified host.
33 .
34 ??? 250
35 quit
36 ??? 221
37 ****
38 killdaemon
39 exim -qf
40 ****