-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Nicolas Letellier wrote:

> However, when I use these files in my ~/.spamassassin, on my FreeBSD, I
> have errors:
> 
> spamd[51854]: bayes: cannot open bayes databases
> /var/spool/spamd/.spamassassin/bayes_* R/O: tie failed: Inappropriate
> file type or format
> spamd[51854]: bayes: cannot open bayes databases
> /var/spool/spamd/.spamassassin/bayes_* R/O: tie failed: Inappropriate
> file type or format
> spamd[51854]: auto-whitelist: open of auto-whitelist file failed:
> auto-whitelist: cannot open auto_whitelist_path
> /var/spool/spamd/.spamassassin/auto-whitelist: Inappropriate file type
> or format
> 
> I don't understand, because they're only Berkeley databases...

You'll need to install the same version of Berkeley DB on FreeBSD as you were
using on Debian -- and you'll have to compile the perl modules SpamAssassin
uses for BerkeleyDB access to use that version too.

"Same" in this context means the first two field in the BDB version number
should match -- the last field (a.k.a 'patchlevel') isn't significant.
You can install multiple BDB versions in parallel from the ports tree, but to
force the perl ports to link against the chosen variant you'll need something 
like:

   WITH_BDB_VER=           44

in /etc/make.conf.  (See /usr/ports/Mk/bsd.database.mk for the possible values)

        Cheers,

        Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREDAAYFAkfVMEAACgkQ3jDkPpsZ+VaEDQCgpriBLoXycXtGmJPYDzMLfkoz
a4AAoJsKhFvStJpGXdNBXyZnL4xYy8N9
=dNeE
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to