Add PQsetClientEncoding(conn, "SQL_ASCII") to the pgsql module.
[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 10HmaY-0005vi-00
6         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
7 Message-Id: <E10HmaY-0005vi-00@myhost.test.ex>
8 From: CALLER_NAME <CALLER@myhost.test.ex>
9 Date: Tue, 2 Mar 1999 09:44:33 +0000
10 X-Router-SSint: was preserved
11
12 A message without any headers.
13
14 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
15 Received: from CALLER (helo=test.ex)
16         by myhost.test.ex with local-esmtp (Exim x.yz)
17         (envelope-from <CALLER@myhost.test.ex>)
18         id 10HmaZ-0005vi-00
19         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
20 From: Test person <tp@cam.ac.uk>
21 To: Me <userx@test.ex>
22 Subject: A real test message
23 Date: Tue, 2 Mar 1999 09:44:33 +0000
24 Message-ID: <41C2F849.3060203@projectile.test.ex>
25 Sender: CALLER_NAME <CALLER@myhost.test.ex>
26 X-Router-SSint: was preserved
27
28 OK, this should look like a genuine message.
29
30 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
31 Received: from CALLER (helo=test.ex)
32         by myhost.test.ex with local-esmtp (Exim x.yz)
33         (envelope-from <CALLER@myhost.test.ex>)
34         id 10HmbA-0005vi-00
35         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
36 From: 99Junk99@somewhere.com
37 To:
38 Subject: MAKE MONEY FAST!!!!
39 Message-id: abcde
40 Sender: CALLER_NAME <CALLER@myhost.test.ex>
41 Date: Tue, 2 Mar 1999 09:44:33 +0000
42 X-Router-SSint: was preserved
43
44 This should be enough to trip the threshold.
45
46 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
47 Received: from CALLER (helo=test.ex)
48         by myhost.test.ex with local-esmtp (Exim x.yz)
49         (envelope-from <CALLER@myhost.test.ex>)
50         id 10HmbB-0005vi-00
51         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
52 From: Test person <tp@cam.ac.uk>
53 To: Me <userx@test.ex>
54 Subject: A real test message
55 Date: Tue, 2 Mar 1999 09:44:33 +0000
56 Message-ID: <41C2F849.3060203@projectile.test.ex>
57 FakeReject: test fakereject
58 Sender: CALLER_NAME <CALLER@myhost.test.ex>
59 X-Regex: Regex matched
60 X-Router-SSint: was preserved
61
62 OK, this should look like a genuine message, but
63 it will trip on THIS REGEX.
64
65 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
66 Received: from CALLER (helo=test.ex)
67         by myhost.test.ex with local-esmtp (Exim x.yz)
68         (envelope-from <CALLER@myhost.test.ex>)
69         id 10HmbC-0005vi-00
70         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
71 Date: Tue, 2 Mar 1999 09:44:33 +0000
72 From: J Caesar <jcaesar@test.ex>
73 To: a-list00@exim.org
74 Message-ID: <20041217133501.GA3058@test.ex>
75 Mime-Version: 1.0
76 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
77 Content-Disposition: inline
78 Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
79         the "volume" charts
80 X-BeenThere: a-list00@exim.org
81 X-Mailman-Version: 2.1.5
82 Precedence: list
83 Sender: CALLER_NAME <CALLER@myhost.test.ex>
84 X-0-content-type: multipart/mixed
85 X-0-filename: 
86 X-0-charset: 
87 X-0-boundary: T4sUOijqQbZv57TR
88 X-0-content-disposition: inline
89 X-0-content-transfer-encoding: 
90 X-0-content-id: 
91 X-0-content-description: 
92 X-0-is-multipart: 1
93 X-0-is-coverletter: 1
94 X-0-is-rfc822: 0
95 X-0-decode-filename: TESTSUITE/spool/scan/10HmbC-0005vi-00/10HmbC-0005vi-00-00000
96 X-0-content-size: 1
97 X-1-content-type: text/plain
98 X-1-filename: 
99 X-1-charset: us-ascii
100 X-1-boundary: 
101 X-1-content-disposition: inline
102 X-1-content-transfer-encoding: 
103 X-1-content-id: 
104 X-1-content-description: 
105 X-1-is-multipart: 0
106 X-1-is-coverletter: 1
107 X-1-is-rfc822: 0
108 X-1-decode-filename: TESTSUITE/spool/scan/10HmbC-0005vi-00/10HmbC-0005vi-00-00001
109 X-1-content-size: 1
110 X-2-content-type: text/plain
111 X-2-filename: working-patch
112 X-2-charset: us-ascii
113 X-2-boundary: 
114 X-2-content-disposition: attachment
115 X-2-content-transfer-encoding: 
116 X-2-content-id: 
117 X-2-content-description: 
118 X-2-is-multipart: 0
119 X-2-is-coverletter: 0
120 X-2-is-rfc822: 0
121 X-2-decode-filename: TESTSUITE/spool/scan/10HmbC-0005vi-00/10HmbC-0005vi-00-00002
122 X-2-content-size: 1
123 X-3-content-type: text/plain
124 X-3-filename: 
125 X-3-charset: us-ascii
126 X-3-boundary: 
127 X-3-content-disposition: inline
128 X-3-content-transfer-encoding: 7bit
129 X-3-content-id: 
130 X-3-content-description: 
131 X-3-is-multipart: 0
132 X-3-is-coverletter: 0
133 X-3-is-rfc822: 0
134 X-3-decode-filename: TESTSUITE/spool/scan/10HmbC-0005vi-00/10HmbC-0005vi-00-00003
135 X-3-content-size: 1
136 X-Router-SSint: was preserved
137
138 --T4sUOijqQbZv57TR
139 Content-Type: text/plain; charset=us-ascii
140 Content-Disposition: inline
141
142 There was a part of the patch missing, complete one is attached.
143      sorry for wasting your time
144
145 --T4sUOijqQbZv57TR
146 Content-Type: text/plain; charset=us-ascii
147 Content-Disposition: attachment; filename=working-patch
148
149 --- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
150 +++ eximstats   2004-12-17 13:47:37.763185260 +0100
151 @@ -1107,11 +1107,11 @@
152    if (scalar @chartdatanames < $ntopchart)
153      {
154      push(@chartdatanames, $key);
155 -    push(@chartdatavals, $$m_count{$key});
156 +    push(@chartdatavals, $$m_data{$key});
157      }
158    else
159      {
160 -    $chartotherval += $$m_count{$key};
161 +    $chartotherval += $$m_data{$key};
162      }
163    }
164  push(@chartdatanames, "Other");
165
166 --T4sUOijqQbZv57TR
167 Content-Type: text/plain; charset="us-ascii"
168 MIME-Version: 1.0
169 Content-Transfer-Encoding: 7bit
170 Content-Disposition: inline
171
172 -- 
173
174 --T4sUOijqQbZv57TR--
175
176 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
177 Received: from CALLER by myhost.test.ex with local (Exim x.yz)
178         (envelope-from <CALLER@myhost.test.ex>)
179         id 10HmbD-0005vi-00
180         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
181 Message-Id: <E10HmbD-0005vi-00@myhost.test.ex>
182 From: CALLER_NAME <CALLER@myhost.test.ex>
183 Date: Tue, 2 Mar 1999 09:44:33 +0000
184 X-Router-SSint: was preserved
185
186 A message without any headers.
187
188 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
189 Received: from CALLER by myhost.test.ex with local (Exim x.yz)
190         (envelope-from <CALLER@myhost.test.ex>)
191         id 10HmbE-0005vi-00
192         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
193 Date: Tue, 2 Mar 1999 09:44:33 +0000
194 From: J Caesar <jcaesar@test.ex>
195 To: a-list00@exim.org
196 Message-ID: <20041217133501.GA3058@test.ex>
197 Mime-Version: 1.0
198 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
199 Content-Disposition: inline
200 Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
201         the "volume" charts
202 X-BeenThere: a-list00@exim.org
203 X-Mailman-Version: 2.1.5
204 Precedence: list
205 Sender: CALLER_NAME <CALLER@myhost.test.ex>
206 X-0-content-type: multipart/mixed
207 X-0-filename: 
208 X-0-charset: 
209 X-0-boundary: T4sUOijqQbZv57TR
210 X-0-content-disposition: inline
211 X-0-content-transfer-encoding: 
212 X-0-content-id: 
213 X-0-content-description: 
214 X-0-is-multipart: 1
215 X-0-is-coverletter: 1
216 X-0-is-rfc822: 0
217 X-0-decode-filename: TESTSUITE/spool/scan/10HmbE-0005vi-00/10HmbE-0005vi-00-00000
218 X-0-content-size: 1
219 X-1-content-type: text/plain
220 X-1-filename: 
221 X-1-charset: us-ascii
222 X-1-boundary: 
223 X-1-content-disposition: inline
224 X-1-content-transfer-encoding: 
225 X-1-content-id: 
226 X-1-content-description: 
227 X-1-is-multipart: 0
228 X-1-is-coverletter: 1
229 X-1-is-rfc822: 0
230 X-1-decode-filename: TESTSUITE/spool/scan/10HmbE-0005vi-00/10HmbE-0005vi-00-00001
231 X-1-content-size: 1
232 X-2-content-type: text/plain
233 X-2-filename: working-patch
234 X-2-charset: us-ascii
235 X-2-boundary: 
236 X-2-content-disposition: attachment
237 X-2-content-transfer-encoding: 
238 X-2-content-id: 
239 X-2-content-description: 
240 X-2-is-multipart: 0
241 X-2-is-coverletter: 0
242 X-2-is-rfc822: 0
243 X-2-decode-filename: TESTSUITE/spool/scan/10HmbE-0005vi-00/10HmbE-0005vi-00-00002
244 X-2-content-size: 1
245 X-3-content-type: text/plain
246 X-3-filename: 
247 X-3-charset: us-ascii
248 X-3-boundary: 
249 X-3-content-disposition: inline
250 X-3-content-transfer-encoding: 7bit
251 X-3-content-id: 
252 X-3-content-description: 
253 X-3-is-multipart: 0
254 X-3-is-coverletter: 0
255 X-3-is-rfc822: 0
256 X-3-decode-filename: TESTSUITE/spool/scan/10HmbE-0005vi-00/10HmbE-0005vi-00-00003
257 X-3-content-size: 1
258 X-Router-SSint: was preserved
259
260 --T4sUOijqQbZv57TR
261 Content-Type: text/plain; charset=us-ascii
262 Content-Disposition: inline
263
264 There was a part of the patch missing, complete one is attached.
265      sorry for wasting your time
266
267 --T4sUOijqQbZv57TR
268 Content-Type: text/plain; charset=us-ascii
269 Content-Disposition: attachment; filename=working-patch
270
271 --- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
272 +++ eximstats   2004-12-17 13:47:37.763185260 +0100
273 @@ -1107,11 +1107,11 @@
274    if (scalar @chartdatanames < $ntopchart)
275      {
276      push(@chartdatanames, $key);
277 -    push(@chartdatavals, $$m_count{$key});
278 +    push(@chartdatavals, $$m_data{$key});
279      }
280    else
281      {
282 -    $chartotherval += $$m_count{$key};
283 +    $chartotherval += $$m_data{$key};
284      }
285    }
286  push(@chartdatanames, "Other");
287
288 --T4sUOijqQbZv57TR
289 Content-Type: text/plain; charset="us-ascii"
290 MIME-Version: 1.0
291 Content-Transfer-Encoding: 7bit
292 Content-Disposition: inline
293
294 -- 
295
296 --T4sUOijqQbZv57TR--
297
298 From CALLER@myhost.test.ex Tue Mar 02 09:44:33 1999
299 Received: from CALLER (helo=test.ex)
300         by myhost.test.ex with local-esmtp (Exim x.yz)
301         (envelope-from <CALLER@myhost.test.ex>)
302         id 10HmbF-0005vi-00
303         for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
304 From: Test person <tp@cam.ac.uk>
305 To: Me <userx@test.ex>
306 Subject: A real test message
307 Date: Tue, 2 Mar 1999 09:44:33 +0000
308 Message-ID: <41C2F849.3060203@projectile.test.ex>
309 FakeDefer: test fakedefer
310 Sender: CALLER_NAME <CALLER@myhost.test.ex>
311 X-Regex: Regex matched
312 X-Router-SSint: was preserved
313
314 OK, this should look like a genuine message, but
315 it will trip on THIS REGEX.
316