From 982e6b293a7b08667530df850726d0b3b1995b43 Mon Sep 17 00:00:00 2001 From: Julien Valroff Date: Wed, 19 Jan 2011 18:29:04 +0100 Subject: Add patch to fix behaviour with clamav-milter --- debian/patches/102_clamav-milter.diff | 16 ++++++++++++++++ debian/patches/series | 1 + 2 files changed, 17 insertions(+) create mode 100644 debian/patches/102_clamav-milter.diff (limited to 'debian/patches') 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 +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 -- cgit v1.2.3