diff options
| author | Julien Valroff <julien@kirya.net> | 2010-01-04 20:51:05 +0100 | 
|---|---|---|
| committer | Julien Valroff <julien@kirya.net> | 2010-01-04 20:51:05 +0100 | 
| commit | 317403eb4faad8467fe49b56f53e300dc5e14f2f (patch) | |
| tree | 11a6ead5f0ef4f2ab9ab55bdb6e7cad4f9518b2e | |
| parent | ea3f6b3aa2cb6190345c81ac4910b993d9bf3ad6 (diff) | |
Add patch to account for infected mail as logged by DSPAM (Closes: #370091)
| -rw-r--r-- | debian/patches/101_dspam-virus-notifications.diff | 17 | ||||
| -rw-r--r-- | debian/patches/series | 1 | 
2 files changed, 18 insertions, 0 deletions
| diff --git a/debian/patches/101_dspam-virus-notifications.diff b/debian/patches/101_dspam-virus-notifications.diff new file mode 100644 index 0000000..4769e37 --- /dev/null +++ b/debian/patches/101_dspam-virus-notifications.diff @@ -0,0 +1,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/) { diff --git a/debian/patches/series b/debian/patches/series index 24900d0..a25f2e5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@  001_path-to-rrd.diff +101_dspam-virus-notifications.diff | 
