diff -up smeserver-mailstats-0.0.3/root/usr/bin/spamfilter-stats-7.pl.update-stats-0_6_23 smeserver-mailstats-0.0.3/root/usr/bin/spamfilter-stats-7.pl --- smeserver-mailstats-0.0.3/root/usr/bin/spamfilter-stats-7.pl.update-stats-0_6_23 2010-01-11 19:04:56.000000000 +0100 +++ smeserver-mailstats-0.0.3/root/usr/bin/spamfilter-stats-7.pl 2010-01-11 19:08:51.000000000 +0100 @@ -2,12 +2,11 @@ ############################################################################# # -# This script provides daily SpamFilter statistics and deletes all users -# junkmails. Configuration of the script is done by the Spam Filter -# Server-Manager module +# This script provides daily SpamFilter statistics. # -# This script has originally been developed -# by Jesper Knudsen at http://sme.swerts-knudsen.dk +# This script was originally developed +# by Jesper Knudsen at http://sme.swerts-knudsen.dk +# and re-written by brian read at bjsystems.co.uk (with some help from the community - thanks guys) # ############################################################################# # @@ -60,7 +59,7 @@ if ($cdb->get('mailstats')){ #Configuration section my %opt = ( - version => '0.6.22', # please update at each change. + version => '0.6.23', # please update at each change. debug => 0, # guess what ? sendmail => '/usr/sbin/sendmail', # Path to sendmail stub from => 'spamfilter-stats', # Who is the mail from @@ -477,8 +476,13 @@ LINE: while (<>) { } next LINE } + - print $log_items[5]."\n"; #Not detected + if ($log_items[5] eq 'tls') {$MiscDenyCount++;$counts{$abshour}{$CATNONCONF}++;mark_domain_rejected($proc);next LINE} + + + print "Unexpected failure string in log file: ".$log_items[5]."\n"; #Not detected + next LINE }