On Thu, Mar 02, 2006 at 01:33:24PM -0500, Dan Mahoney, System Admin wrote: > Here's the errors I'm currently seeing that do not seem right to me: > > 1) An error relating to Textcat that I can find no real documentation on > in the wiki or the docs, and reading the source does not imply specifying > a filename: > > Mar 2 13:09:07 quark spamd[52083]: textcat: languages filename not > defined at > /usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/TextCat.pm > line 320.
There should be a file called "languages" in the default rules directory (/usr/share/spamassassin). It gets installed with the standard rules. If it's not there, TextCat won't work. > 2) A bunch of warnings, all in a row (I see this regularly, I think when > a new child spawns): > > Mar 2 13:07:55 quark spamd[95378]: Use of uninitialized value in addition > (+) at > /usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/PerMsgStatus.pm This is related to http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4699 We still haven't been able to standardly reproduce the issue, so it's hard to track down. > 3) This on startup: > > Mar 2 13:43:57 quark spamd[52090]: Use of uninitialized value in pattern > match (m//) at > /usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line > 547, <GEN2752> line 2. > Mar 2 13:43:57 quark spamd[52090]: Use of uninitialized value in pattern > match (m//) at > /usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Conf/Parser.pm line > 547, <GEN2752> line 2. Could be related to the above. line 547 in 3.1.0 is: $set_score = -$set_score if ( $conf->{tflags}->{$k} =~ /\bnice\b/ ); This should definitely never be possible with the standard code. When a rule is added, the function that adds it specifically does: $conf->{tflags}->{$name} ||= ''; The #2 issue above is that there's a rule hit for a rule without a score set, which should also never be possible -- in fact, the function from #3 sets the default score for all rules, which means #2 shouldn't be possible. -- Randomly Generated Tagline: Two heads are better than one. -- John Heywood
pgpHXVNGS6c0o.pgp
Description: PGP signature