File: 102_clamav-milter.diff

package info (click to toggle)
mailgraph 1.14-20%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 632 kB
  • sloc: perl: 7,677; sh: 134; makefile: 9
file content (16 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix for clamav-milter >= 0.96
Author: Adrian von Bidder <avbidder@fortytwo.ch>
Forwarded: no

--- a/mailgraph.pl
+++ b/mailgraph.pl
@@ -847,6 +847,9 @@
 		if($text =~ /Intercepted/) {
 			event($time, 'virus');
 		}
+        elsif($text =~ /Message.*infected by/) {
+			event($time, 'virus');
+		}
 	}
 	# uncommment for clamassassin:
 	#elsif($prog eq 'clamd') {