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