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