Testsuite: fix error message. Bug 2700
[users/heiko/exim.git] / test / scripts / 4000-scanning / 4000
1 # mime boundaries
2 #
3 # This mail should be fine, if complex
4 #
5 exim -odi -bs
6 ehlo test.ex
7 mail from:<>
8 rcpt to:<userx@test.ex>
9 data
10 Date: Fri, 17 Dec 2004 14:35:01 +0100
11 From: J Caesar <jcaesar@test.ex>
12 To: a-list00@exim.org
13 Message-ID: <20041217133501.GA3058@test.ex>
14 Mime-Version: 1.0
15 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
16 Content-Disposition: inline
17 Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
18         the "volume" charts
19 X-BeenThere: a-list00@exim.org
20 X-Mailman-Version: 2.1.5
21 Precedence: list
22
23 --T4sUOijqQbZv57TR
24 Content-Type: text/plain; charset=US-ASCII
25 Content-Transfer-Encoding: quoted-printable
26 Content-Disposition: inline
27
28 Test quoted-printable =3D    
29 Space at end of line=40
30 Continued line =    
31 with this text.
32
33 --T4sUOijqQbZv57TR
34 Content-Type: text/plain; charset=us-ascii
35 Content-Disposition: inline
36
37 There was a part of the patch missing, complete one is attached.
38      sorry for wasting your time
39
40 --T4sUOijqQbZv57TR
41 Content-Type: text/plain; charset=us-ascii
42 Content-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
62 Content-Type: text/plain; charset="us-ascii"
63 MIME-Version: 1.0
64 Content-Transfer-Encoding: 7bit
65 Content-Disposition: inline
66
67 -- 
68
69 --T4sUOijqQbZv57TR--
70 .
71 quit
72 ****
73 #
74 #
75 # This one has a rotten parameter, but should not induce a crash
76 #
77 exim -odi -bs
78 ehlo test.ex
79 mail from:<>
80 rcpt to:<userx@test.ex>
81 data
82 Date: Fri, 17 Dec 2004 14:35:01 +0100
83 From: J Caesar <jcaesar@test.ex>
84 To: a-list00@exim.org
85 Message-ID: <20041217133501.GA3058@test.ex>
86 Mime-Version: 1.0
87 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
88 Content-Disposition: inline
89 Subject: Nasty
90
91 --T4sUOijqQbZv57TR
92 Content-Type: text/plain; charset=
93
94 foobar
95
96 --T4sUOijqQbZv57TR--
97 .
98 quit
99 ****
100 #
101 #
102 # This one has a different rotten parameter, but should not induce a crash
103 #
104 exim -odi -bs
105 ehlo test.ex
106 mail from:<>
107 rcpt to:<userx@test.ex>
108 data
109 Date: Fri, 17 Dec 2004 14:35:01 +0100
110 From: J Caesar <jcaesar@test.ex>
111 To: a-list00@exim.org
112 Message-ID: <20041217133501.GA3059@test.ex>
113 Mime-Version: 1.0
114 Content-Type: text/html;
115         charset=UTF-8;
116         name=""
117 Content-Disposition: inline
118 Subject: Nasty
119
120 --T4sUOijqQbZv57TR
121 Content-Type: text/plain;
122
123 foobar
124
125 --T4sUOijqQbZv57TR--
126 .
127 quit
128 ****
129 #
130 #
131 # This one has a 3rd rotten parameter style
132 #
133 exim -odi -bs
134 ehlo test.ex
135 mail from:<>
136 rcpt to:<userx@test.ex>
137 data
138 Date: Fri, 17 Dec 2004 14:35:01 +0100
139 From: J Caesar <jcaesar@test.ex>
140 To: a-list00@exim.org
141 Message-ID: <20041217133501.GA3059@test.ex>
142 Mime-Version: 1.0
143 Content-Type: text/plain; charset="utf-8""
144 Content-Disposition: inline
145 Subject: Nasty3
146
147 --T4sUOijqQbZv57TR
148 Content-Type: text/plain;
149
150 foobar
151
152 --T4sUOijqQbZv57TR--
153 .
154 quit
155 ****
156 #
157 #
158 # This one has a some unrecognised params
159 #
160 exim -odi -bs
161 ehlo test.ex
162 mail from:<>
163 rcpt to:<userx@test.ex>
164 data
165 Date: Fri, 17 Dec 2004 14:35:01 +0100
166 From: J Caesar <jcaesar@test.ex>
167 To: a-list00@exim.org
168 Message-ID: <20041217133501.GA3059@test.ex>
169 Mime-Version: 1.0
170 Content-Type: text/plain;
171         garbage1;
172         garbage2=foo;
173         garbage3="bar"foo;
174         charset=UTF-8;
175         garbage4=";
176 Content-Disposition: inline
177 Subject: Nasty4
178
179 --T4sUOijqQbZv57TR
180 Content-Type: text/plain;
181
182 foobar
183
184 --T4sUOijqQbZv57TR--
185 .
186 quit
187 ****
188 #
189 # This one has two attachments, using different encodings
190 exim -odi -bs
191 ehlo test.ex
192 mail from:<>
193 rcpt to:<userx@test.ex>
194 data
195 Date: Fri, 17 Dec 2004 14:35:01 +0100
196 Message-ID: <20041217133501.GA3058@test.ex>
197 Subject: Nasty5
198 Mime-Version: 1.0
199 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
200
201 --T4sUOijqQbZv57TR
202 Content-Type: text/plain; charset=us-ascii
203 Content-Disposition: attachment; filename="=?iso-8859-1?Q?test_=E4_test1?="
204
205 (content 1: filename is rfc2047 encoded)
206
207 --T4sUOijqQbZv57TR
208 Content-Type: text/plain; charset=us-ascii
209 Content-Disposition: attachment; filename*=ISO-8859-1''%74%65%73%74%20%E4%20%74%65%73%74%32
210
211 (content 2: filename is rfc2231 encoded)
212
213 --T4sUOijqQbZv57TR--
214 .
215 quit
216 ****
217 #
218 #
219 # This one has a legit param; empty charset
220 #
221 exim -odi -bs
222 ehlo test.ex
223 mail from:<>
224 rcpt to:<userx@test.ex>
225 data
226 Date: Fri, 17 Dec 2004 14:35:01 +0100
227 From: J Caesar <jcaesar@test.ex>
228 To: a-list00@exim.org
229 Message-ID: <20041217133502.GA3059@test.ex>
230 Mime-Version: 1.0
231 Content-Type: application/pdf;
232  name*=''2015.11.13%20-%20Pr%C3%A4sentation%20GI%20-%20LK.PDF
233 Content-Disposition: attachment;
234  filename*=''2015.11.13%20-%20Pr%C3%A4sentation%20GI%20-%20LK.PDF
235 Subject: Nasty6
236
237 --T4sUOijqQbZv57TR
238 Content-Type: text/plain;
239
240 foobar
241
242 --T4sUOijqQbZv57TR--
243 .
244 quit
245 ****
246 #
247 #
248 # As above, but with a deny from the mime acl
249 #
250 exim -DBAD=bad -odi -bs
251 ehlo test.ex
252 mail from:<>
253 rcpt to:<userx@test.ex>
254 data
255 Date: Fri, 17 Dec 2004 14:35:01 +0100
256 From: J Caesar <jcaesar@test.ex>
257 To: a-list00@exim.org
258 Message-ID: <20041217133502.GA3059@test.ex>
259 Mime-Version: 1.0
260 Content-Type: application/pdf;
261  name*=''2015.11.13%20-%20Pr%C3%A4sentation%20GI%20-%20LK.PDF
262 Content-Disposition: attachment;
263  filename*=''2015.11.13%20-%20Pr%C3%A4sentation%20GI%20-%20LK.PDF
264 Subject: Nasty6
265
266 --T4sUOijqQbZv57TR
267 Content-Type: text/plain;
268
269 foobar
270
271 --T4sUOijqQbZv57TR--
272 .
273 quit
274 ****