1 # appendfile 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 exim -odi usery@test.ex
19 from is case sensitive
20 From: is how headers start
22 write test-data 128x64
24 From Bohemia's woods and fields
26 exim -odi userx@test.ex <test-data
28 write test-data 127x64 1x63
30 From Bohemia's woods and fields
32 exim -odi userx@test.ex <test-data
34 exim -odi userz@test.ex
36 . a line starting with a dot
37 .. and one starting with two dots
38 From should not be escaped as this is
39 going to be delivered using BSMTP.
41 exim -odi userw@test.ex
43 . a line starting with a dot
44 .. and one starting with two dots
45 From should not be escaped as this is
46 going to be delivered using BSMTP,
64 exim -oi -odi userx@domain.com
65 .dotheader: This is perfectly legal
68 . a line starting with a dot
69 .. and one starting with two dots
71 The previous one contains only a dot.
73 write test-data 127x64 1x62
77 exim -odi userx@test.ex <test-data
79 exim -odi userx@test.ex
80 Last line ending without a newline and with a partial match:
83 exim -odi filter-userx@test.ex
89 from is case sensitive
90 From: is how headers start
92 exim -odi filter-userx@test.ex
93 Last line ending without a newline and with a partial match:
96 exim -odi userx@test.ex
97 Last line ending without a newline and being a single dot:
100 exim -odi mmdf-userx@test.ex
101 Line consisting of four ^A characters
103 That should get escaped by adding a space.
105 exim -odi batch-userx@test.ex batch-userz@test.ex
107 . a line starting with a dot
108 .. and one starting with two dots
109 From should be escaped as this is
110 going to be delivered using batch. The dots
111 shouldn't be escaped.
113 exim -odi userx@test.ex
116 From is the very first word of the message.
117 From starts the second line.
134 exim -oi -odi userx@filtered.com
135 .dotheader: This is perfectly legal
138 . a line starting with a dot
139 .. and one starting with two dots
141 The previous one contains only a dot.