Account properly for quoted or 2047-encoded MIME parameters while walking headers...
[exim.git] / test / mail / 4000.userx
1 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
2 Received: from CALLER (helo=test.ex)
3         by myhost.test.ex with local-esmtp (Exim x.yz)
4         (envelope-from <CALLER@myhost.test.ex>)
5         id 10HmaX-0005vi-00
6         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
7 Date: Tue, 2 Mar 1999 09:44:33 +0000
8 From: J Caesar <jcaesar@test.ex>
9 To: a-list00@exim.org
10 Message-ID: <20041217133501.GA3058@test.ex>
11 Mime-Version: 1.0
12 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
13 Content-Disposition: inline
14 Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
15         the "volume" charts
16 X-BeenThere: a-list00@exim.org
17 X-Mailman-Version: 2.1.5
18 Precedence: list
19 Sender: CALLER_NAME <CALLER@myhost.test.ex>
20 X-0-content-type: multipart/mixed
21 X-0-filename: 
22 X-0-charset: 
23 X-0-boundary: T4sUOijqQbZv57TR
24 X-0-content-disposition: inline
25 X-0-content-transfer-encoding: 
26 X-0-content-id: 
27 X-0-content-description: 
28 X-0-is-multipart: 1
29 X-0-is-coverletter: 1
30 X-0-is-rfc822: 0
31 X-0-decode-filename: TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00-00000
32 X-0-content-size: 2
33 X-1-content-type: text/plain
34 X-1-filename: 
35 X-1-charset: US-ASCII
36 X-1-boundary: 
37 X-1-content-disposition: inline
38 X-1-content-transfer-encoding: quoted-printable
39 X-1-content-id: 
40 X-1-content-description: 
41 X-1-is-multipart: 0
42 X-1-is-coverletter: 1
43 X-1-is-rfc822: 0
44 X-1-decode-filename: TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00-00001
45 X-1-content-size: 1
46 X-2-content-type: text/plain
47 X-2-filename: 
48 X-2-charset: us-ascii
49 X-2-boundary: 
50 X-2-content-disposition: inline
51 X-2-content-transfer-encoding: 
52 X-2-content-id: 
53 X-2-content-description: 
54 X-2-is-multipart: 0
55 X-2-is-coverletter: 0
56 X-2-is-rfc822: 0
57 X-2-decode-filename: TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00-00002
58 X-2-content-size: 1
59 X-3-content-type: text/plain
60 X-3-filename: working-patch
61 X-3-charset: us-ascii
62 X-3-boundary: 
63 X-3-content-disposition: attachment
64 X-3-content-transfer-encoding: 
65 X-3-content-id: 
66 X-3-content-description: 
67 X-3-is-multipart: 0
68 X-3-is-coverletter: 0
69 X-3-is-rfc822: 0
70 X-3-decode-filename: TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00-00003
71 X-3-content-size: 1
72 X-4-content-type: text/plain
73 X-4-filename: 
74 X-4-charset: us-ascii
75 X-4-boundary: 
76 X-4-content-disposition: inline
77 X-4-content-transfer-encoding: 7bit
78 X-4-content-id: 
79 X-4-content-description: 
80 X-4-is-multipart: 0
81 X-4-is-coverletter: 0
82 X-4-is-rfc822: 0
83 X-4-decode-filename: TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00-00004
84 X-4-content-size: 1
85
86 --T4sUOijqQbZv57TR
87 Content-Type: text/plain; charset=US-ASCII
88 Content-Transfer-Encoding: quoted-printable
89 Content-Disposition: inline
90
91 Test quoted-printable =3D    
92 Space at end of line=40
93 Continued line =    
94 with this text.
95
96 --T4sUOijqQbZv57TR
97 Content-Type: text/plain; charset=us-ascii
98 Content-Disposition: inline
99
100 There was a part of the patch missing, complete one is attached.
101      sorry for wasting your time
102
103 --T4sUOijqQbZv57TR
104 Content-Type: text/plain; charset=us-ascii
105 Content-Disposition: attachment; filename=working-patch
106
107 --- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
108 +++ eximstats   2004-12-17 13:47:37.763185260 +0100
109 @@ -1107,11 +1107,11 @@
110    if (scalar @chartdatanames < $ntopchart)
111      {
112      push(@chartdatanames, $key);
113 -    push(@chartdatavals, $$m_count{$key});
114 +    push(@chartdatavals, $$m_data{$key});
115      }
116    else
117      {
118 -    $chartotherval += $$m_count{$key};
119 +    $chartotherval += $$m_data{$key};
120      }
121    }
122  push(@chartdatanames, "Other");
123
124 --T4sUOijqQbZv57TR
125 Content-Type: text/plain; charset="us-ascii"
126 MIME-Version: 1.0
127 Content-Transfer-Encoding: 7bit
128 Content-Disposition: inline
129
130 -- 
131
132 --T4sUOijqQbZv57TR--
133
134 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
135 Received: from CALLER (helo=test.ex)
136         by myhost.test.ex with local-esmtp (Exim x.yz)
137         (envelope-from <CALLER@myhost.test.ex>)
138         id 10HmaY-0005vi-00
139         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
140 Date: Tue, 2 Mar 1999 09:44:33 +0000
141 From: J Caesar <jcaesar@test.ex>
142 To: a-list00@exim.org
143 Message-ID: <20041217133501.GA3058@test.ex>
144 Mime-Version: 1.0
145 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
146 Content-Disposition: inline
147 Subject: Nasty
148 Sender: CALLER_NAME <CALLER@myhost.test.ex>
149 X-0-content-type: multipart/mixed
150 X-0-filename: 
151 X-0-charset: 
152 X-0-boundary: T4sUOijqQbZv57TR
153 X-0-content-disposition: inline
154 X-0-content-transfer-encoding: 
155 X-0-content-id: 
156 X-0-content-description: 
157 X-0-is-multipart: 1
158 X-0-is-coverletter: 1
159 X-0-is-rfc822: 0
160 X-0-decode-filename: TESTSUITE/spool/scan/10HmaY-0005vi-00/10HmaY-0005vi-00-00000
161 X-0-content-size: 1
162 X-1-content-type: text/plain
163 X-1-filename: 
164 X-1-charset: 
165 X-1-boundary: 
166 X-1-content-disposition: 
167 X-1-content-transfer-encoding: 
168 X-1-content-id: 
169 X-1-content-description: 
170 X-1-is-multipart: 0
171 X-1-is-coverletter: 1
172 X-1-is-rfc822: 0
173 X-1-decode-filename: TESTSUITE/spool/scan/10HmaY-0005vi-00/10HmaY-0005vi-00-00001
174 X-1-content-size: 1
175
176 --T4sUOijqQbZv57TR
177 Content-Type: text/plain; charset=
178
179 foobar
180
181 --T4sUOijqQbZv57TR--
182
183 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
184 Received: from CALLER (helo=test.ex)
185         by myhost.test.ex with local-esmtp (Exim x.yz)
186         (envelope-from <CALLER@myhost.test.ex>)
187         id 10HmaZ-0005vi-00
188         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
189 Date: Tue, 2 Mar 1999 09:44:33 +0000
190 From: J Caesar <jcaesar@test.ex>
191 To: a-list00@exim.org
192 Message-ID: <20041217133501.GA3059@test.ex>
193 Mime-Version: 1.0
194 Content-Type: text/html;
195         charset=UTF-8;
196         name=""
197 Content-Disposition: inline
198 Subject: Nasty
199 Sender: CALLER_NAME <CALLER@myhost.test.ex>
200 X-0-content-type: text/html
201 X-0-filename: 
202 X-0-charset: UTF-8
203 X-0-boundary: 
204 X-0-content-disposition: inline
205 X-0-content-transfer-encoding: 
206 X-0-content-id: 
207 X-0-content-description: 
208 X-0-is-multipart: 0
209 X-0-is-coverletter: 1
210 X-0-is-rfc822: 0
211 X-0-decode-filename: TESTSUITE/spool/scan/10HmaZ-0005vi-00/10HmaZ-0005vi-00-00000
212 X-0-content-size: 1
213
214 --T4sUOijqQbZv57TR
215 Content-Type: text/plain;
216
217 foobar
218
219 --T4sUOijqQbZv57TR--
220