/[smecontribs]/rpms/smeserver-mailstats/contribs7/smeserver-mailstats-0.0.3-bjrupdate04.patch
ViewVC logotype

Annotation of /rpms/smeserver-mailstats/contribs7/smeserver-mailstats-0.0.3-bjrupdate04.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Apr 28 11:54:59 2008 UTC (16 years, 7 months ago) by brianread
Branch: MAIN
CVS Tags: smeserver-mailstats-0_0_3-11_el4_sme, smeserver-mailstats-0_0_3-10_el4_sme, smeserver-mailstats-0_0_3-13_el4_sme, smeserver-mailstats-0_0_3-12_el4_sme, smeserver-mailstats-0_0_3-7_el4_sme, smeserver-mailstats-0_0_3-9_el4_sme, smeserver-mailstats-0_0_3-8_el4_sme
another go at getting the patch right

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;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed