Am running SA-2.63 on FBSD-Rel-4.8p14

As posted earlier, my server started crash/rebooting and the immediate
problem was traced to locking problems on auto-whitelist.db. Cleaning out
the DB stopped the problem.

But, just before the problem started, I had noticed these errors in the
maillog and wondered if were related to my cratering problem??:

Use of uninitialized value at
/usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 519.
Use of uninitialized value at
/usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 521.
Use of uninitialized value at
/usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Bayes.pm line 522.

Now, I see the above errors pop up again when running the ham/spams through
sa-learn.

THE LINES:
519     $boundary =~ s/[a-fA-F0-9]/H/gs;
521    $boundary =~ s/([-_\.=]+)/ $1 /gs;
522    $val .= $boundary;

Below is the Bayes.pm section with those lines:
}
    
sub pre_chew_content_type {
  my ($self, $val) = @_;
    
  # hopefully this will retain good bits without too many hapaxen
      
  if ($val =~ s/boundary=[\"\'](.*?)[\"\']/ /ig) {
    my $boundary = $1;
    $boundary =~ s/[a-fA-F0-9]/H/gs;
    # break up blocks of separator chars so they become their own tokens
    $boundary =~ s/([-_\.=]+)/ $1 /gs;       
    $val .= $boundary;
  }
      
  # stop-list words for Content-Type header: these wind up totally gray
  $val =~ s/\b(?:text|charset)\b//;      
      
  $val;
}

Best regards,
Jack L. Stone,
Administrator

Sage American
http://www.sage-american.com
[EMAIL PROTECTED]


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to