All I've done to tell spamassassin to use postgres are the
_dsn
settings in local.cf. I get the impression that isn't
sufficient.
What did I miss?
The 3 functions (greatest_int, least_int, put_tokens) for
postgres
are in the database. I think I got them from the apache
spamassassin
3.1.x page about DB AWL/Bayes, and I went by the README
files, there,
too, or at least I read them and re-read them as I performed
the
surgery.
ht
tp://svn.apache.org/repos/asf/spamassassin/tags/
spamassassin_current_release_3.1.x/sql/
However, the last usage timestamp for the perl file
Mail/SpamAssassin/BayesStore/PgSQL.pm is the installation
time, January
7, while its sibling SQL.pm is less than twenty minutes ago
(although
right now the Bayesian is running on Berkeley DB, I thought,
so I don't
know why it wouldn't be early this morning.)
The postgresql version is 8.1.4 on the slower system where
I'm
attempting this first. On the busier but faster one, it's
8.1.3.
I also checked the log on the busier but faster server for
"SA TIMED OUT" lines, and there seem to be just
about 2 per day,
and all the tracebacks show that it's in BayesStore.
There's
probably a simple explanation for such consistency, like
they
all happen because of a certain cron job or two. Hmm,
they're
all 12 hours apart, one around 2 AM, give or take 30
minutes,
the other within a minute or two of 12 hours later, around 2
PM,
although one day they were close to 6, not 2. The rules
from
apache and openprotect are refreshed and amavisd restarted
at
the end of the script that starts at 1:30 AM, but I don't
see
anything that runs 12 hours later. A minor mystery.
>Dale Carstensen wrote:
>
>> So I ran it with -D. It says there's something
invalid about storing
>> data in type bytea columns.
>
>Make sure, first of all, that you're using PostgreSQL
8.x (the minimum
>requirement), and that you're using the
PostgreSQL-specific engine for
>SpamAssassin (Mail::SpamAssassin::BayesStore::PostgreSQL
rather than the
>generic SQL engine).
>Robert LeBlanc <rjl renaissoft.com>
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|