summaryrefslogtreecommitdiff
path: root/debian/patches/102_clamav-milter.diff
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2011-01-19 18:29:04 +0100
committerJulien Valroff <julien@kirya.net>2011-01-19 18:29:04 +0100
commit982e6b293a7b08667530df850726d0b3b1995b43 (patch)
treeb61af16ede26982f8aab9b4205d6bc130cdc9b50 /debian/patches/102_clamav-milter.diff
parent5f7aa065a939f9488e0a75a05111fa7dac061ae1 (diff)
Add patch to fix behaviour with clamav-milter
Diffstat (limited to 'debian/patches/102_clamav-milter.diff')
-rw-r--r--debian/patches/102_clamav-milter.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/102_clamav-milter.diff b/debian/patches/102_clamav-milter.diff
new file mode 100644
index 0000000..c9eac04
--- /dev/null
+++ b/debian/patches/102_clamav-milter.diff
@@ -0,0 +1,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') {