1) snf4sa.pm correctly reads the configuration for SNFServer result of zero. 2) snf4sa.pm uses static score reporting for spamassassin versions earlier than 3.2.0. git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@51 233e721a-07f6-49eb-a7da-05e0e16828fcmaster
@@ -1,3 +1,10 @@ | |||
2010-02-17 Alban Deniz <adeniz@skidmark.localdomain> | |||
* snf4sa.pm (parse_snf_sa_mapping): Correctly read configuration | |||
for result code of zero. | |||
(snf4sa_sacheck): Support static score reporting if dynamic | |||
scoring isn't supported (spamassassin version earlier than 3.2.0). | |||
2009-05-16 Alban Deniz <adeniz@skidmark.localdomain> | |||
* snf4sa.pm (snf4sa_sacheck): Submit the contribution to the score |
@@ -497,7 +497,7 @@ sub snf4sa_sacheck { | |||
my $rch = $SNF_XCI_Return->{"header"}; # the SNF header(s) | |||
# DEBUG. | |||
# for (my $i = 0; $i < $permsgstatus->{main}->{conf}->{snfSaMapping}; $i++) { | |||
# for (my $i = 0; $i < @{$permsgstatus->{main}->{conf}->{snfSaMapping}}; $i++) { | |||
# if (! defined($permsgstatus->{main}->{conf}->{snfSaMapping}->[$i])) { | |||
# print "No configuration for SNFServer code $i\n"; | |||
# next; |
@@ -63,10 +63,16 @@ then | |||
ulimit -c unlimited | |||
# Run debug version. | |||
command="/usr/local/bin/strace" | |||
command=$dir/$debugProg | |||
# Alternative to run under strace to get system call info. | |||
#command="/usr/local/bin/strace" | |||
# Start with output redirected to a file. | |||
command_args="-r -tt -v $dir/$debugProg $configFile >> $debugOutputFile 2>&1 &" | |||
command_args="$configFile >> $debugOutputFile 2>&1 &" | |||
# Alternative for running under strace. | |||
#command_args="-r -tt -v $dir/$debugProg $configFile >> $debugOutputFile 2>&1 &" | |||
else | |||
@@ -13,7 +13,7 @@ dnl | |||
dnl | |||
AC_PREREQ(2.52) | |||
AC_INIT(snf-server, 3.0.10) | |||
AC_INIT(snf-server, 3.0.11) | |||
AC_CONFIG_SRCDIR(SNFMulti/snfCFGmgr.cpp) | |||
AC_CONFIG_AUX_DIR(config) | |||
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |