1 |
brianread |
1.1 |
--- smeserver-mailstats-0.0.3/root/usr/bin/spamfilter-stats-7.pl.bjrupdate04 2008-04-28 12:51:05.000000000 +0100 |
2 |
|
|
+++ smeserver-mailstats-0.0.3/root/usr/bin/spamfilter-stats-7.pl 2008-04-27 13:43:22.000000000 +0100 |
3 |
|
|
@@ -88,6 +88,7 @@ |
4 |
|
|
# - Allow varied interval for report |
5 |
|
|
# 0.6.21 - bjr - Move initial test (and create) for mailstats prop before |
6 |
|
|
# first reference to mailstats |
7 |
|
|
+# 0.6.22 - bjr - bug fix [SME:3734] |
8 |
|
|
# |
9 |
|
|
# TODO |
10 |
|
|
# ---- |
11 |
|
|
@@ -295,7 +296,7 @@ |
12 |
|
|
|
13 |
|
|
#Configuration section |
14 |
|
|
my %opt = ( |
15 |
|
|
- version => '0.6.21', # please update at each change. |
16 |
|
|
+ version => '0.6.22', # please update at each change. |
17 |
|
|
debug => 0, # guess what ? |
18 |
|
|
sendmail => '/usr/sbin/sendmail', # Path to sendmail stub |
19 |
|
|
from => 'spamfilter-stats', # Who is the mail from |
20 |
|
|
@@ -1049,9 +1050,9 @@ |
21 |
|
|
my $enablejunkMailList; |
22 |
|
|
my $savedata; |
23 |
|
|
if ($cdb->get('mailstats')){ |
24 |
|
|
- $enableqpsmtpdcodes = ($cdb->get('mailstats')->prop("QpsmtpdCodes") || "enabled") eq "enabled" || $true; |
25 |
|
|
- $enableSARules = ($cdb->get('mailstats')->prop("SARules") || "enabled" eq "enabled") || $true; |
26 |
|
|
- $enablejunkMailList = ($cdb->get('mailstats')->prop("JunkMailList") || "enabled") eq "enabled" || $true; |
27 |
|
|
+ $enableqpsmtpdcodes = ($cdb->get('mailstats')->prop("QpsmtpdCodes") || "enabled") eq "enabled" || $false; |
28 |
|
|
+ $enableSARules = ($cdb->get('mailstats')->prop("SARules") || "enabled") eq "enabled" || $false; |
29 |
|
|
+ $enablejunkMailList = ($cdb->get('mailstats')->prop("JunkMailList") || "enabled") eq "enabled" || $false; |
30 |
|
|
$savedata = ($cdb->get('mailstats')->prop("SaveDataToMySQL") || "no") eq "yes" || $false; |
31 |
|
|
} else { |
32 |
|
|
$enableqpsmtpdcodes = $true; |