Check for lost connection or unexpected input at end of message.
[exim.git] / test / scripts / 2000-GnuTLS / 2029
CommitLineData
58eb016e
PH
1# TLS server: SMTP still alive check before final response
2gnutls
3#
4exim -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#
9client-gnutls 127.0.0.1 PORT_D
10??? 220
11ehlo abcd
12??? 250-
13??? 250-
14??? 250-
15??? 250-
16??? 250
17starttls
18??? 220
19mail from:<userx@test.ex>
20??? 250
21rcpt to:<userx@test.ex>
22??? 250
23data
24??? 354
25This is a test message.
26.
27+++ 1
28****
29sleep 1
30killdaemon
31#
32# Also check for next input sent too soon
33#
34exim -DSERVER=server -bd -oX PORT_D
35****
36client-gnutls 127.0.0.1 PORT_D
37??? 220
38ehlo abcd
39??? 250-
40??? 250-
41??? 250-
42??? 250-
43??? 250
44starttls
45??? 220
46mail from:<userx@test.ex>
47??? 250
48rcpt to:<userx@test.ex>
49??? 250
50data
51??? 354
52This is a test message.
53.\r\nrset
54+++ 1
55****
56sleep 1
57killdaemon