$permsgstatus->{conf}->{scoreset} rather than $permsgstatus->{scoreset}. This addresses the problem with amavisd-new always having a score of 1 Update to version 0.9.2. git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@20 233e721a-07f6-49eb-a7da-05e0e16828fcmaster
@@ -0,0 +1,11 @@ | |||
2009-05-16 Alban Deniz <adeniz@skidmark.localdomain> | |||
* snf4sa.pm (snf4sa_sacheck): Submit the contribution to the score | |||
using $permsgstatus->{conf}->{scoreset} rather than | |||
$permsgstatus->{scoreset}. This addresses the problem with | |||
amavisd-new always having a score of 1. | |||
2009-05-13 Alban Deniz <adeniz@skidmark.localdomain> | |||
* snf4sa.pm (snf4sa_sacheck): Corrected calculation of GBUdb | |||
contribution to SA score: sqrt(abs(p * c)) * weight. |
@@ -13,7 +13,7 @@ dnl | |||
dnl | |||
AC_PREREQ(2.52) | |||
AC_INIT(snf4sa, 0.9.1) | |||
AC_INIT(snf4sa, 0.9.2) | |||
AC_CONFIG_SRCDIR(snf4sa.cf) | |||
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) | |||
@@ -518,7 +518,7 @@ sub snf4sa_sacheck { | |||
$permsgstatus->got_hit("SNF4SA", "", score => $deltaScore); | |||
for my $set (0..3) { | |||
$permsgstatus->{scoreset}->[$set]->{"SNF4SA"} = | |||
$permsgstatus->{conf}->{scoreset}->[$set]->{"SNF4SA"} = | |||
sprintf("%0.3f", $deltaScore); | |||
} | |||