summaryrefslogtreecommitdiff
path: root/debian/patches/102_clamav-milter.diff
blob: c9eac0427f8dd27c47b78f8475a0eaf9ff1ad31f (plain)
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
@@ -820,6 +820,9 @@
 		if($text =~ /Intercepted/) {
 			event($time, 'virus');
 		}
+        elsif($text =~ /Message.*infected by/) {
+			event($time, 'virus');
+		}
 	}
 	# uncommment for clamassassin:
 	#elsif($prog eq 'clamd') {