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-Disposition: inline
81 There was a part of the patch missing, complete one is attached.
82 sorry for wasting your time
85 Content-Type: text/plain; charset=us-ascii
86 Content-Disposition: attachment; filename=working-patch
88 --- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
89 +++ eximstats 2004-12-17 13:47:37.763185260 +0100
90 @@ -1107,11 +1107,11 @@
91 if (scalar @chartdatanames < $ntopchart)
93 push(@chartdatanames, $key);
94 - push(@chartdatavals, $$m_count{$key});
95 + push(@chartdatavals, $$m_data{$key});
99 - $chartotherval += $$m_count{$key};
100 + $chartotherval += $$m_data{$key};
103 push(@chartdatanames, "Other");
106 Content-Type: text/plain; charset="us-ascii"
108 Content-Transfer-Encoding: 7bit
109 Content-Disposition: inline
118 exim -odi userx@test.ex
119 A message without any headers.
122 # Non-smtp MIME message
123 exim -odi userx@test.ex
124 Date: Fri, 17 Dec 2004 14:35:01 +0100
125 From: J Caesar <jcaesar@test.ex>
126 To: a-list00@exim.org
127 Message-ID: <20041217133501.GA3058@test.ex>
129 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
130 Content-Disposition: inline
131 Subject: [exim] Re: Bug#286074: eximstats: uses message count as data for
133 X-BeenThere: a-list00@exim.org
134 X-Mailman-Version: 2.1.5
138 Content-Type: text/plain; charset=us-ascii
139 Content-Disposition: inline
141 There was a part of the patch missing, complete one is attached.
142 sorry for wasting your time
145 Content-Type: text/plain; charset=us-ascii
146 Content-Disposition: attachment; filename=working-patch
148 --- /usr/sbin/eximstats 2004-12-17 13:36:44.381983753 +0100
149 +++ eximstats 2004-12-17 13:47:37.763185260 +0100
150 @@ -1107,11 +1107,11 @@
151 if (scalar @chartdatanames < $ntopchart)
153 push(@chartdatanames, $key);
154 - push(@chartdatavals, $$m_count{$key});
155 + push(@chartdatavals, $$m_data{$key});
159 - $chartotherval += $$m_count{$key};
160 + $chartotherval += $$m_data{$key};
163 push(@chartdatanames, "Other");
166 Content-Type: text/plain; charset="us-ascii"
168 Content-Transfer-Encoding: 7bit
169 Content-Disposition: inline
178 rcpt to:<userx@test.ex>
180 From: Test person <tp@cam.ac.uk>
181 To: Me <userx@test.ex>
182 Subject: A real test message
183 Date: Fri, 17 Dec 2004 16:13:04 +0100
184 Message-ID: <41C2F849.3060203@projectile.test.ex>
185 FakeDefer: test fakedefer
187 OK, this should look like a genuine message, but
188 it will trip on THIS REGEX.
192 # Very simple virus test
195 rcpt to:<userx@test.ex>
197 Subject: a virus test
199 X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*