Truncate delay when peer closes connection. Bug 348
[exim.git] / test / scripts / 0000-Basic / 0566
CommitLineData
2668ed87
TL
1# Optional MAIL FROM args processing
2#
3# SIZE alone
4exim -bs
5ehlo Testing
6mail from:<x@y> SIZE=1000
7rcpt to:<userx@test.ex>
8quit
9****
10# BODY alone
11exim -bs
12ehlo Testing
13mail from:<x@y> BODY=7BIT
14rcpt to:<userx@test.ex>
15quit
16****
17# SIZE then BODY
18exim -bs
19ehlo Testing
20mail from:<x@y> SIZE=1000 BODY=7BIT
21rcpt to:<userx@test.ex>
22quit
23****
24# BODY then SIZE
25exim -bs
26ehlo Testing
27mail from:<x@y> BODY=7BIT SIZE=1000
28rcpt to:<userx@test.ex>
29quit
30****
31# AUTH then BODY then SIZE
32exim -bs
33ehlo Testing
34mail from:<x@y> AUTH=x@y BODY=7BIT SIZE=1000
35rcpt to:<userx@test.ex>
36quit
37****
38# BODY then AUTH then SIZE
39exim -bs
40ehlo Testing
41mail from:<x@y> BODY=7BIT AUTH=x@y SIZE=1000
42rcpt to:<userx@test.ex>
43quit
44****
45# SIZE then BODY then AUTH
46exim -bs
47ehlo Testing
48mail from:<x@y> SIZE=1000 BODY=7BIT AUTH=x@y
49rcpt to:<userx@test.ex>
50quit
51****
52# SIZE then BODY then SIZE
53exim -bs
54ehlo Testing
55mail from:<x@y> SIZE=1000 BODY=7BIT SIZE=1200
56rcpt to:<userx@test.ex>
57quit
58****
59# (over)SIZE then BODY
60exim -bs
61ehlo Testing
62mail from:<x@y> SIZE=40004 BODY=8BITMIME
63rcpt to:<userx@test.ex>
64quit
65****
66# BODY then (over)SIZE
67exim -bs
68ehlo Testing
69mail from:<x@y> BODY=8BITMIME SIZE=40004
70rcpt to:<userx@test.ex>
71quit
72****
3c0a92dc
JH
73# no BODY, data
74exim -bs
75ehlo Testing
76mail from:<x@y>
77rcpt to:<userx@test.ex>
78data
79Subject: test
80
81foo
82.
83quit
84****
85sleep 1
86# 7bit BODY, data
87exim -bs
88ehlo Testing
89mail from:<x@y> BODY=7BIT
90rcpt to:<userx@test.ex>
91data
92Subject: test
93
94foo
95.
96quit
97****
98sleep 1
99# 8bit BODY, data
100exim -bs
101ehlo Testing
102mail from:<x@y> BODY=8BITMIME
103rcpt to:<userx@test.ex>
104data
105Subject: test
106
107foo
108.
109quit
110****
111sleep 1
112# bad BODY, data
113# should fail
1141
115exim -bs
116ehlo Testing
117mail from:<x@y> BODY=wrong
118rcpt to:<userx@test.ex>
119data
120Subject: test
121
122foo
123.
124quit
125****
2668ed87 126no_msglog_check