diff options
Diffstat (limited to 'debian/patches/101_dspam-virus-notifications.diff')
-rw-r--r-- | debian/patches/101_dspam-virus-notifications.diff | 17 |
1 files changed, 17 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/) { |