Check for lost connection or unexpected input at end of message.
[exim.git] / test / scripts / 0000-Basic / 0559
CommitLineData
58eb016e
PH
1# SMTP still alive check before final response
2need_ipv4
3#
4exim -DSERVER=server -bd -oX PORT_D
5****
6client -t5 127.0.0.1 PORT_D
7??? 220
8ehlo abcd
9??? 250-
10??? 250-
11??? 250-
12??? 250
13mail from:<userx@test.ex>\r\nrcpt to:<userx@test.ex>\r\ndata
14??? 250
15??? 250
16??? 354
17This is a test message.
18.
19+++ 1
20****
21sleep 1
22killdaemon
23#
24# Also check for next input sent too soon
25#
26exim -DSERVER=server -bd -oX PORT_D
27****
28client -t5 127.0.0.1 PORT_D
29??? 220
30ehlo abcd
31??? 250-
32??? 250-
33??? 250-
34??? 250
35mail from:<userx@test.ex>\r\nrcpt to:<userx@test.ex>\r\ndata
36??? 250
37??? 250
38??? 354
39This is a test message.
40.\r\nrset
41??? 550
42****
43sleep 1
44killdaemon