Andre Nicholson wrote: >This happens when scanning incoming messages and trying to sa-learn them >manually. The >errors cause no tokens to be available and thus bayes is ignored. Other than >reverting >to a backup of the database, is there something I can do or look at to fix >this? I've >never seen this message before and have been storing bayes data in an SQL >database since >SpamAssassin 3.0. > >Running PostgreSQL 8.0.3 for bayes. SpamAssassin version 3.0.4, running on >Perl version >5.8.0. > > > Do not use 3.0 with PostgreSQL. It's known to have problems. Actually, the problem you're seeing might be DBD::Pg related. Did you possibly just install a new version? Make sure you are using the version listed in sql/README.bayes.
There is custom PostgreSQL support in 3.1, which just had RC1 released, you can try that one. It works very well and is 7-27x faster than the code in 3.0. Michael
signature.asc
Description: OpenPGP digital signature