Well,

in the bayes case, the table is bayes_token and indeed Mail::SpamAssassin::BayesStore::SQL is INSERTING into the table via _put_tokens().

  my $insertsql = "INSERT INTO bayes_token
                   (id, token, spam_count, ham_count, atime)
                   VALUES (?,?,?,?,?)";

so, as you said earlier, INSERT INTO should be a REPLACE INTO.

Anyone know if there is an existing bug report  for this?

Thx.

Reply via email to