summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/102_clamav-milter.diff16
-rw-r--r--debian/patches/series1
2 files changed, 17 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') {
diff --git a/debian/patches/series b/debian/patches/series
index 52266f0..ecd554a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
001_path-to-rrd.diff
002_script-name.diff
101_dspam-virus-notifications.diff
+102_clamav-milter.diff