==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=4635

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================


Jonathan <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smeserver-
                   |                            |[EMAIL PROTECTED]
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Jonathan <[EMAIL PROTECTED]>  2008-10-15 03:51:19 ---
(In reply to comment #0)
> Testing latest version: 
> rpm -q smeserver-mailstats
> smeserver-mailstats-0.0.3-11.el4.sme
> 
> Since installing this version, the job fails with the following email message:
> 
> Global symbol "%found_sarules" requires explicit package name at
> /usr/bin/spamfilter-stats-7.pl line 1152.
> Execution of /usr/bin/spamfilter-stats-7.pl aborted due to compilation errors.
> 
> As I understand it, recent changes on smeserver-mailstats have been done for
> bug 3631 but I am not sure whether I should report this over there (?).

This should be fixed in smeserver-mailstats-0.0.3-13.el4.sme (available in
smetest) as the patches I applied were faulty:

[EMAIL PROTECTED] contribs7]$ cvs status -v *.spec
===================================================================
File: smeserver-mailstats.spec  Status: Up-to-date

   Working revision:    1.21
   Repository revision: 1.21   
/cvsroot/smecontribs/rpms/smeserver-mailstats/contribs7/smeserver-mailstats.spec,v
   Sticky Tag:          HEAD (revision: 1.21)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        smeserver-mailstats-0_0_3-13_el4_sme    (revision: 1.21)

Affected lines should have looked like this:

1150-    foreach my $thisrule (keys %found_SARules){
1151-           $dbh->do("INSERT INTO SARules
(dateid,rule,count,totalhits,servername) VALUES ('".
1152:                  
$dateid."','".$thisrule."','".$found_SARules{$thisrule}{'count'}."','".
1153-                  
$found_SARules{$thisrule}{'totalhits'}."','".$servername."')");
1154-                   $reccount++;
1155-    }

But in smeserver-mailstats-0.0.3-11.el4.sme

[EMAIL PROTECTED] contribs7]$ cvs status -v *.spec
===================================================================
File: smeserver-mailstats.spec  Status: Up-to-date

   Working revision:    1.16
   Repository revision: 1.16   
/cvsroot/smecontribs/rpms/smeserver-mailstats/contribs7/smeserver-mailstats.spec,v
   Sticky Tag:          smeserver-mailstats-0_0_3-11_el4_sme (revision: 1.16)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        smeserver-mailstats-0_0_3-13_el4_sme    (revision: 1.21)
        smeserver-mailstats-0_0_3-12_el4_sme    (revision: 1.20)
        smeserver-mailstats-0_0_3-11_el4_sme    (revision: 1.16)

looked like this:

1150-    foreach my $thisrule (keys %found_SARules){
1151-           $dbh->do("INSERT INTO sarules
(dateid,rule,count,totalhits,servername) VALUES ('".
1152:                  
$dateid."','".$thisrule."','".$found_sarules{$thisrule}{'count'}."','".
1153-                  
$found_SARules{$thisrule}{'totalhits'}."','".$servername."')");
1154-                   $reccount++;
1155-    }

The variable $found_sarules in line 1152 was accidentally changed to be
lowercase.

Marking FIXED in smeserver-mailstats-0.0.3-13.

If you could be so kind as to update 

 yum update smeserver-mailstats --enabelrepo=smetest

and report back to verify that the error does not appear anymore that would be
very nice.


-- 
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [EMAIL PROTECTED]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam

Reply via email to