At Thu, 17 Oct 2002 10:20:50 -0400,
Cedric Fontaine wrote:
> Is there a way to avoid this garbage in the mail header ?
> (hbedv: 6.16.0.0. hbedv: operating system: Linux (glibc). (snip)
I posted a patch to fix this problem just c. 10 minutes before...
--- qmail-scanner-1.14/qmail-scanner-queue.template.orig 2002-08-15
12:58:51.000000000 +0900
+++ qmail-scanner-1.14/qmail-scanner-queue.template 2002-10-17 01:18:57.000000000
++0900
@@ -970,6 +970,7 @@
my ($scanner,$SCANINFO,$files,$sweep_eng,$sweep_product,$dir);
my $start_scan_time =time;
my ($inocucmd_eng,$inocucmd_product,$spamassassin_eng);
+ my ($hbedv_eng,$hbedv_product);
chdir($scandir);
&debug("s_q: re-create the quarantine version file");
@@ -1057,8 +1058,13 @@
open(IS,"$hbedv_binary --version 2>&1 |")||die "failed to call $hbedv_binary
--version - $!";
while (<IS>) {
chomp;
- $SCANINFO .= "hbedv: $_. ";
+ if (/engine version:\s+(.*)/) {
+ $hbedv_eng=$1;
+ } elsif (/product version:\s+(.*)/) {
+ $hbedv_product=$1;
+ }
}
+ $SCANINFO .= "hbedv: $hbedv_eng/$hbedv_product. ";
close(IS);
} elsif ($scanner eq "avp") {
open(AVP,"$avp_binary -Y -VL 2>&1 |")||die "failed to call $avp_binary -Y -VL
- $!";
--- qmail-scanner-1.14/sub-hbedv.pl.orig 2002-06-13 11:51:07.000000000 +0900
+++ qmail-scanner-1.14/sub-hbedv.pl 2002-10-17 01:17:06.000000000 +0900
@@ -11,7 +11,7 @@
$hbedv_status=($? >> 8);
&debug("--output of hbedv was:\n$DD--");
if ( $hbedv_status > 0) {
- if ($DD =~ /(VIRUS.*)\n/) {
+ if ($DD =~ /(ALERT.*)\n/) {
$quarantine_description=$1;
&debug("There be a virus! ($quarantine_description)");
($quarantine_event=$quarantine_description)=~s/\s/_/g;
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general