Apparantly this bug has been fixed upstream already as can be seen at
http://rekudos.net/amavis-stats/node/view/6
The problem is discussed here: http://rekudos.net/amavis-stats/node/view/84

The patch to fix this is as follows (note that I have not verified this
myself):

*** amavis-stats        Sat Mar 27 16:25:27 2004
--- amavis-stats.new    Tue Mar 30 11:05:32 2004
***************
*** 525,530 ****
--- 525,531 ----
          if (defined $spamsess{$sid}) {
              dbg("Passed(SPAM) $epoch: $isodate");
              $id = getVid("Passed(SPAM)", $epoch);
+             delete $spamsess{$sid};
          } else {
              dbg("Passed: $epoch: $isodate");
              $id = getVid("Passed", $epoch);
***************
*** 539,544 ****
--- 540,546 ----
          if (defined $spamsess{$sid}) {
              dbg("Not-Delivered(SPAM): $epoch: $isodate");
              $id = getVid("Not-Delivered(SPAM)", $epoch);
+             delete $spamsess{$sid};
          } else {
              dbg("Not-Delivered: $epoch: $isodate");
              $id = getVid("Not-Delivered", $epoch);
***************
*** 586,592 ****
      #
      # Since we have classified this session-id we need to remove it
      # from the %spamsess hash
-     delete $spamsess{$sid};
  }
  
  
--- 588,593 ----

Regards,

Jelmer Jaarsma



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to