MIME: Support RFC2231 for filenames. Bug 466
[exim.git] / test / scripts / 4000-scanning / 4000
CommitLineData
93cad488
JH
1# mime boundaries
2#
3# This mail should be fine, if complex
4#
59371ea7
PH
5exim -odi -bs
6ehlo test.ex
7mail from:<>
8rcpt to:<userx@test.ex>
9data
10Date: Fri, 17 Dec 2004 14:35:01 +0100
11From: J Caesar <jcaesar@test.ex>
12To: a-list00@exim.org
13Message-ID: <20041217133501.GA3058@test.ex>
14Mime-Version: 1.0
15Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
16Content-Disposition: inline
17Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
18 the "volume" charts
19X-BeenThere: a-list00@exim.org
20X-Mailman-Version: 2.1.5
21Precedence: list
22
d203e649
PH
23--T4sUOijqQbZv57TR
24Content-Type: text/plain; charset=US-ASCII
25Content-Transfer-Encoding: quoted-printable
26Content-Disposition: inline
27
28Test quoted-printable =3D
29Space at end of line=40
30Continued line =
31with this text.
32
59371ea7
PH
33--T4sUOijqQbZv57TR
34Content-Type: text/plain; charset=us-ascii
35Content-Disposition: inline
36
37There was a part of the patch missing, complete one is attached.
38 sorry for wasting your time
39
40--T4sUOijqQbZv57TR
41Content-Type: text/plain; charset=us-ascii
42Content-Disposition: attachment; filename=working-patch
43
44--- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
45+++ eximstats 2004-12-17 13:47:37.763185260 +0100
46@@ -1107,11 +1107,11 @@
47 if (scalar @chartdatanames < $ntopchart)
48 {
49 push(@chartdatanames, $key);
50- push(@chartdatavals, $$m_count{$key});
51+ push(@chartdatavals, $$m_data{$key});
52 }
53 else
54 {
55- $chartotherval += $$m_count{$key};
56+ $chartotherval += $$m_data{$key};
57 }
58 }
59 push(@chartdatanames, "Other");
60
61--T4sUOijqQbZv57TR
62Content-Type: text/plain; charset="us-ascii"
63MIME-Version: 1.0
64Content-Transfer-Encoding: 7bit
65Content-Disposition: inline
66
67--
68
69--T4sUOijqQbZv57TR--
70.
71quit
72****
93cad488
JH
73#
74#
75# This one has a rotten parameter, but should not induce a crash
76#
77exim -odi -bs
78ehlo test.ex
79mail from:<>
80rcpt to:<userx@test.ex>
81data
59371ea7
PH
82Date: Fri, 17 Dec 2004 14:35:01 +0100
83From: J Caesar <jcaesar@test.ex>
84To: a-list00@exim.org
85Message-ID: <20041217133501.GA3058@test.ex>
86Mime-Version: 1.0
87Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
88Content-Disposition: inline
93cad488 89Subject: Nasty
59371ea7
PH
90
91--T4sUOijqQbZv57TR
93cad488 92Content-Type: text/plain; charset=
59371ea7 93
93cad488 94foobar
59371ea7
PH
95
96--T4sUOijqQbZv57TR--
59371ea7
PH
97.
98quit
99****
5c6cf6a0
JH
100#
101#
102# This one has a different rotten parameter, but should not induce a crash
103#
104exim -odi -bs
105ehlo test.ex
106mail from:<>
107rcpt to:<userx@test.ex>
108data
109Date: Fri, 17 Dec 2004 14:35:01 +0100
110From: J Caesar <jcaesar@test.ex>
111To: a-list00@exim.org
112Message-ID: <20041217133501.GA3059@test.ex>
113Mime-Version: 1.0
114Content-Type: text/html;
115 charset=UTF-8;
116 name=""
117Content-Disposition: inline
118Subject: Nasty
119
120--T4sUOijqQbZv57TR
121Content-Type: text/plain;
122
123foobar
124
125--T4sUOijqQbZv57TR--
126.
127quit
128****
bf485bf3
JH
129#
130#
131# This one has a 3rd rotten parameter style
132#
133exim -odi -bs
134ehlo test.ex
135mail from:<>
136rcpt to:<userx@test.ex>
137data
138Date: Fri, 17 Dec 2004 14:35:01 +0100
139From: J Caesar <jcaesar@test.ex>
140To: a-list00@exim.org
141Message-ID: <20041217133501.GA3059@test.ex>
142Mime-Version: 1.0
143Content-Type: text/plain; charset="utf-8""
144Content-Disposition: inline
145Subject: Nasty3
146
147--T4sUOijqQbZv57TR
148Content-Type: text/plain;
149
150foobar
151
152--T4sUOijqQbZv57TR--
153.
154quit
155****
e7c25d5b
JH
156#
157#
158# This one has a some unrecognised params
159#
160exim -odi -bs
161ehlo test.ex
162mail from:<>
163rcpt to:<userx@test.ex>
164data
165Date: Fri, 17 Dec 2004 14:35:01 +0100
166From: J Caesar <jcaesar@test.ex>
167To: a-list00@exim.org
168Message-ID: <20041217133501.GA3059@test.ex>
169Mime-Version: 1.0
170Content-Type: text/plain;
171 garbage1;
172 garbage2=foo;
173 garbage3="bar"foo;
174 charset=UTF-8;
175 garbage4=";
176Content-Disposition: inline
177Subject: Nasty4
178
179--T4sUOijqQbZv57TR
180Content-Type: text/plain;
181
182foobar
183
184--T4sUOijqQbZv57TR--
185.
186quit
187****
f846c8f5
JH
188#
189# This one has two attachments, using different encodings
190exim -odi -bs
191ehlo test.ex
192mail from:<>
193rcpt to:<userx@test.ex>
194data
195Date: Fri, 17 Dec 2004 14:35:01 +0100
196Message-ID: <20041217133501.GA3058@test.ex>
197Mime-Version: 1.0
198Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
199
200--T4sUOijqQbZv57TR
201Content-Type: text/plain; charset=us-ascii
202Content-Disposition: attachment; filename="=?iso-8859-1?Q?test_=E4_test1?="
203
204(content 1: filename is rfc2047 encoded)
205
206--T4sUOijqQbZv57TR
207Content-Type: text/plain; charset=us-ascii
208Content-Disposition: attachment; filename*=ISO-8859-1''%74%65%73%74%20%E4%20%74%65%73%74%32
209
210(content 2: filename is rfc2231 encoded)
211
212--T4sUOijqQbZv57TR--
213.
214quit
215****