summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic/0589
blob: 44328a70c7a020e3afacbd3eaed5594d9b79fb03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# message_linelength_limit
#
# The "write" script cmd subtracts 1 for the newline,
# and the linecount in exim doesn't count the line-ending.
write test-data-good 1x999
++++
****
write test-data-bad  1x1000
++++
****
#
exim -bd -DSERVER=server -oX PORT_D
****
client 127.0.0.1 PORT_D
??? 220
HELO test
??? 250
MAIL FROM:<CALLER@test.ex>
??? 250
RCPT TO:<good@test.ex>
??? 250
DATA
??? 354
Subject: should be good

<<< test-data-good
.
??? 250
MAIL FROM:<CALLER@test.ex>
??? 250
RCPT TO:<bad@test.ex>
??? 250
DATA
??? 354
Subject: should be bad

<<< test-data-bad
.
??? 250
QUIT
??? 221
****
#
sleep 1
killdaemon