http://bugzilla.spamassassin.org/show_bug.cgi?id=3345





------- Additional Comments From [EMAIL PROTECTED]  2004-05-02 13:19 -------
Michael Parker wrote:

> Can you be more specific about the warning you are seeing and the
> problem you're trying to solve.

Put the following in your config file:

   bayes_min_spam_num 1000000

or set it higher if you have more than a million spams.

Run sa on a message.  I've gotten the warning:

 Use of uninitialized value in numeric lt (<) at
../trunk/lib/Mail/SpamAssassin/BayesStore/DBM.pm line 710.

Line 710 in my version is:

    # Is a sync due?
    sub sync_due {
      my ($self) = @_;

      return 0 if ( $self->{db_version} < $self->DB_VERSION ); # don't bother
doing old db versions



> Also, the patch isn't correct.  a) $self->{already_tied} is
> meaningless , maybe $self->{store}->{already_tied} is what you meant
> and 

That's embarrassing.

> b) since SQL databases are never tied then that code would never
> get run for SQL bayes dbs, which would be bad.

That's less embarrassing, I guess I shouldn't have assumed that
all back ends have similar members.  Anyway, the patch below
is back-end independent.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to