Truncate delay when peer closes connection. Bug 348
[exim.git] / test / scripts / 0000-Basic / 0101
CommitLineData
59371ea7
PH
1# pipe body escapes (including "from hack" and "SMTP dot" tests)
2need_ipv4
3#
4exim -odi userx@test.ex
5Test message
6From the deep abyss
7From
8out of nowhere
9Fromage please
10from is case sensitive
11From: is how headers start
12****
13write test-data 128x64
14++++
15From Bohemia's woods and fields
16****
17exim -odi userx@test.ex <test-data
18****
19write test-data 127x64 1x63
20++++
21From Bohemia's woods and fields
22****
23exim -odi userx@test.ex <test-data
24****
25exim -odi userz@test.ex
26A message containing
27. a line starting with a dot
28.. and one starting with two dots
29From should not be escaped as this is
30going to be delivered using BSMTP.
31****
32server PORT_S
33220 ESMTP
34EHLO
35250 OK
36MAIL FROM:
37250 Sender OK
38RCPT TO:
39250 Recipient OK
40DATA
41354 Send data
42.
43250 OK
44QUIT
45250 OK
46****
47exim -oi -odi userx@domain.com
48.dotheader: This is perfectly legal
49
50A message containing
51. a line starting with a dot
52.. and one starting with two dots
53.
54The previous one contains only a dot.
55****
56write test-data 127x64 1x62
57++++
58Frost isn't From.
59****
60exim -odi userx@test.ex <test-data
61****
62exim -odi userx@test.ex
63Last line ending without a newline and with a partial match:
64From\NONL\
65****
66exim -odi filter-userx@test.ex
67Test message
68From the deep abyss
69From
70out of nowhere
71Fromage please
72from is case sensitive
73From: is how headers start
74****
75exim -odi filter-userx@test.ex
76Last line ending without a newline and with a partial match:
77From\NONL\
78****
79exim -odi userx@test.ex
80Last line ending without a newline and being a single dot:
81.\NONL\
82****
83exim -odi mmdf-userx@test.ex
84Line consisting of four ^A characters
85\ 1\ 1\ 1\ 1
86That should get escaped by adding a space.
87****
88exim -odi userx@test.ex
89Subject: From
90
91From is the very first word of the message.
92From starts the second line.