Florian wrote:

> Hello,

> Ive installed OpenBSD 3.8 with amavisd-new-2.3.2 and 
> p5-Mail-SpamAssassin-3.0.4 (no update from 2.6.x), I tried to start 
> amavisd-new but I get everytime the errormessage:

> bayes: bayes db version 2 is not able to be used, aborting! at 
> /usr/local/libdata/perl5/site_perl/Mail/SpamAssassin/BayesStore/DBM.pm 
> line 160.

> After that I read that I should try to install the Berkeley DB (version 
> 4) and the suitable CPAN modul but it helps nothing ?

> Can anyone help ?

> Regards
> Florian

Are you saying you have never installed 2.6x? If that is the case I
would think it would be impossible for SpamAssassin to find a Version
2 Bayes setup (like it appears it has).

Read:
http://svn.apache.org/repos/asf/spamassassin/branches/3.1/UPGRADE
starting at:
"- The Bayesian storage modules have been completely re-written"

I would think in the worst case you could delete the old Bayes files
and recreate new empty ones with the 'sa-learn --sync' command which
should be run both as root and your amavisd-new user. Doing so means
you will have two sets of Bayes files *unless* you have set a bayes_path
in local.cf which points both users to one set of files. If you were
to do this then you run the risk of changing ownership to root which
would make the files inaccessible to amavis, hence you would always
have to run sa-learn (and spamassassin) as your amavisd-new user and
keep an eye on who owns the files. You should do so either way.

Gary V



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to