summaryrefslogtreecommitdiff
path: root/test/scripts/4000-scanning/4000
blob: cd53007b2c872117f2ef581e7c301c7b91a8e8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
# mime boundaries
#
# This mail should be fine, if complex
#
exim -odi -bs
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
From: J Caesar <jcaesar@test.ex>
To: a-list00@exim.org
Message-ID: <20041217133501.GA3058@test.ex>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
Content-Disposition: inline
Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
	the "volume" charts
X-BeenThere: a-list00@exim.org
X-Mailman-Version: 2.1.5
Precedence: list

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Test quoted-printable =3D    
Space at end of line=40
Continued line =    
with this text.

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

There was a part of the patch missing, complete one is attached.
     sorry for wasting your time

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=working-patch

--- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
+++ eximstats	2004-12-17 13:47:37.763185260 +0100
@@ -1107,11 +1107,11 @@
   if (scalar @chartdatanames < $ntopchart)
     {
     push(@chartdatanames, $key);
-    push(@chartdatavals, $$m_count{$key});
+    push(@chartdatavals, $$m_data{$key});
     }
   else
     {
-    $chartotherval += $$m_count{$key};
+    $chartotherval += $$m_data{$key};
     }
   }
 push(@chartdatanames, "Other");

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 

--T4sUOijqQbZv57TR--
.
quit
****
#
#
# This one has a rotten parameter, but should not induce a crash
#
exim -odi -bs
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
From: J Caesar <jcaesar@test.ex>
To: a-list00@exim.org
Message-ID: <20041217133501.GA3058@test.ex>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
Content-Disposition: inline
Subject: Nasty

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=

foobar

--T4sUOijqQbZv57TR--
.
quit
****
#
#
# This one has a different rotten parameter, but should not induce a crash
#
exim -odi -bs
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
From: J Caesar <jcaesar@test.ex>
To: a-list00@exim.org
Message-ID: <20041217133501.GA3059@test.ex>
Mime-Version: 1.0
Content-Type: text/html;
        charset=UTF-8;
        name=""
Content-Disposition: inline
Subject: Nasty

--T4sUOijqQbZv57TR
Content-Type: text/plain;

foobar

--T4sUOijqQbZv57TR--
.
quit
****
#
#
# This one has a 3rd rotten parameter style
#
exim -odi -bs
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
From: J Caesar <jcaesar@test.ex>
To: a-list00@exim.org
Message-ID: <20041217133501.GA3059@test.ex>
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8""
Content-Disposition: inline
Subject: Nasty3

--T4sUOijqQbZv57TR
Content-Type: text/plain;

foobar

--T4sUOijqQbZv57TR--
.
quit
****
#
#
# This one has a some unrecognised params
#
exim -odi -bs
ehlo test.ex
mail from:<>
rcpt to:<userx@test.ex>
data
Date: Fri, 17 Dec 2004 14:35:01 +0100
From: J Caesar <jcaesar@test.ex>
To: a-list00@exim.org
Message-ID: <20041217133501.GA3059@test.ex>
Mime-Version: 1.0
Content-Type: text/plain;
        garbage1;
        garbage2=foo;
        garbage3="bar"foo;
        charset=UTF-8;
        garbage4=";
Content-Disposition: inline
Subject: Nasty4

--T4sUOijqQbZv57TR
Content-Type: text/plain;

foobar

--T4sUOijqQbZv57TR--
.
quit
****