1 # Basic exiscan feature tests
2 echo ==> This test may take a bit of time, depending on exactly
3 echo ==> how your SpamAssassin is configured.
7 rcpt to:<userx@test.ex>
9 A message without any headers.
16 rcpt to:<userx@test.ex>
18 From: Test person <tp@cam.ac.uk>
19 To: Me <userx@test.ex>
20 Subject: A real test message
21 Date: Fri, 17 Dec 2004 16:13:04 +0100
22 Message-ID: <41C2F849.3060203@projectile.test.ex>
24 OK, this should look like a genuine message.
31 rcpt to:<userx@test.ex>
33 From: 99Junk99@somewhere.com
35 Subject: MAKE MONEY FAST!!!!
38 This should be enough to trip the threshold.
45 rcpt to:<userx@test.ex>
47 From: Test person <tp@cam.ac.uk>
48 To: Me <userx@test.ex>
49 Subject: A real test message
50 Date: Fri, 17 Dec 2004 16:13:04 +0100
51 Message-ID: <41C2F849.3060203@projectile.test.ex>
52 FakeReject: test fakereject
54 OK, this should look like a genuine message, but
55 it will trip on THIS REGEX.
62 rcpt to:<userx@test.ex>
64 Date: Fri, 17 Dec 2004 14:35:01 +0100
65 From: J Caesar <jcaesar@test.ex>
67 Message-ID: <20041217133501.GA3058@test.ex>
69 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
70 Content-Disposition: inline
71 Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
73 X-BeenThere: a-list00@exim.org
74 X-Mailman-Version: 2.1.5
78 Content-Type: text/plain; charset=US-ASCII
79 Content-Transfer-Encoding: quoted-printable
80 Content-Disposition: inline
82 Test quoted-printable =3D
83 Space at end of line=40
88 Content-Type: text/plain; charset=us-ascii
89 Content-Disposition: inline
91 There was a part of the patch missing, complete one is attached.
92 sorry for wasting your time
95 Content-Type: text/plain; charset=us-ascii
96 Content-Disposition: attachment; filename=working-patch
98 --- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
99 +++ eximstats 2004-12-17 13:47:37.763185260 +0100
100 @@ -1107,11 +1107,11 @@
101 if (scalar @chartdatanames < $ntopchart)
103 push(@chartdatanames, $key);
104 - push(@chartdatavals, $$m_count{$key});
105 + push(@chartdatavals, $$m_data{$key});
109 - $chartotherval += $$m_count{$key};
110 + $chartotherval += $$m_data{$key};
113 push(@chartdatanames, "Other");
116 Content-Type: text/plain; charset="us-ascii"
118 Content-Transfer-Encoding: 7bit
119 Content-Disposition: inline
128 exim -odi userx@test.ex
129 A message without any headers.
132 # Non-smtp MIME message
133 exim -odi userx@test.ex
134 Date: Fri, 17 Dec 2004 14:35:01 +0100
135 From: J Caesar <jcaesar@test.ex>
136 To: a-list00@exim.org
137 Message-ID: <20041217133501.GA3058@test.ex>
139 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
140 Content-Disposition: inline
141 Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
143 X-BeenThere: a-list00@exim.org
144 X-Mailman-Version: 2.1.5
148 Content-Type: text/plain; charset=us-ascii
149 Content-Disposition: inline
151 There was a part of the patch missing, complete one is attached.
152 sorry for wasting your time
155 Content-Type: text/plain; charset=us-ascii
156 Content-Disposition: attachment; filename=working-patch
158 --- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
159 +++ eximstats 2004-12-17 13:47:37.763185260 +0100
160 @@ -1107,11 +1107,11 @@
161 if (scalar @chartdatanames < $ntopchart)
163 push(@chartdatanames, $key);
164 - push(@chartdatavals, $$m_count{$key});
165 + push(@chartdatavals, $$m_data{$key});
169 - $chartotherval += $$m_count{$key};
170 + $chartotherval += $$m_data{$key};
173 push(@chartdatanames, "Other");
176 Content-Type: text/plain; charset="us-ascii"
178 Content-Transfer-Encoding: 7bit
179 Content-Disposition: inline
188 rcpt to:<userx@test.ex>
190 From: Test person <tp@cam.ac.uk>
191 To: Me <userx@test.ex>
192 Subject: A real test message
193 Date: Fri, 17 Dec 2004 16:13:04 +0100
194 Message-ID: <41C2F849.3060203@projectile.test.ex>
195 FakeDefer: test fakedefer
197 OK, this should look like a genuine message, but
198 it will trip on THIS REGEX.
202 # Very simple virus test
205 rcpt to:<userx@test.ex>
207 Subject: a virus test
209 X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*