e371e68d7e07d019fa32e83ac0161f909d85af2d
[exim.git] / test / scripts / 2000-GnuTLS / 2029
1 # TLS server: SMTP still alive check before final response
2 gnutls
3 #
4 exim -DSERVER=server -bd -oX PORT_D
5 ****
6 # The pause (+++ 1) at the end of this is so that we don't close the input
7 # until some time after sending the dot.
8 #
9 client-gnutls 127.0.0.1 PORT_D
10 ??? 220
11 ehlo abcd
12 ??? 250-
13 ??? 250-
14 ??? 250-
15 ??? 250-
16 ??? 250
17 starttls
18 ??? 220
19 mail from:<userx@test.ex>
20 ??? 250
21 rcpt to:<userx@test.ex>
22 ??? 250
23 data
24 ??? 354
25 This is a test message.
26 .
27 +++ 1
28 ****
29 sleep 1
30 killdaemon
31 #
32 # Also check for next input sent too soon
33 #
34 exim -DSERVER=server -bd -oX PORT_D
35 ****
36 client-gnutls 127.0.0.1 PORT_D
37 ??? 220
38 ehlo abcd
39 ??? 250-
40 ??? 250-
41 ??? 250-
42 ??? 250-
43 ??? 250
44 starttls
45 ??? 220
46 mail from:<userx@test.ex>
47 ??? 250
48 rcpt to:<userx@test.ex>
49 ??? 250
50 data
51 ??? 354
52 This is a test message.
53 .\r\nrset
54 +++ 1
55 ****
56 sleep 1
57 killdaemon