blob: 4769e37b10e99be2c7d9bf0683b18b9d486d71a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Description: Add code to account for infected mail as logged by DSPAM
Author: Julien Valroff <julien@kirya.net>
Forwarded: no
--- a/mailgraph.pl
+++ b/mailgraph.pl
@@ -774,6 +774,9 @@
if($text =~ /spam detected from/) {
event($time, 'spam');
}
+ elsif($text =~ /infected message from/) {
+ event($time, 'virus');
+ }
}
elsif($prog eq 'spamproxyd' or $prog eq 'spampd') {
if($text =~ /^\s*SPAM/ or $text =~ /^identified spam/) {
|