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