1 # pipe body escapes (including "from hack" and "SMTP dot" tests)
4 exim -odi userx@test.ex
10 from is case sensitive
11 From: is how headers start
13 write test-data 128x64
15 From Bohemia's woods and fields
17 exim -odi userx@test.ex <test-data
19 write test-data 127x64 1x63
21 From Bohemia's woods and fields
23 exim -odi userx@test.ex <test-data
25 exim -odi userz@test.ex
27 . a line starting with a dot
28 .. and one starting with two dots
29 From should not be escaped as this is
30 going to be delivered using BSMTP.
47 exim -oi -odi userx@domain.com
48 .dotheader: This is perfectly legal
51 . a line starting with a dot
52 .. and one starting with two dots
54 The previous one contains only a dot.
56 write test-data 127x64 1x62
60 exim -odi userx@test.ex <test-data
62 exim -odi userx@test.ex
63 Last line ending without a newline and with a partial match:
66 exim -odi filter-userx@test.ex
72 from is case sensitive
73 From: is how headers start
75 exim -odi filter-userx@test.ex
76 Last line ending without a newline and with a partial match:
79 exim -odi userx@test.ex
80 Last line ending without a newline and being a single dot:
83 exim -odi mmdf-userx@test.ex
84 Line consisting of four ^A characters
86 That should get escaped by adding a space.
88 exim -odi userx@test.ex
91 From is the very first word of the message.
92 From starts the second line.