Hi

don't know if this helps, but here you can see my use flags and it worls on my system:

[I] mail-filter/spamassassin
Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools} Installed versions: 3.2.1-r1(06:48:52 27.08.2009)(berkdb mysql sqlite ssl -doc -ipv6 -ldap -postgres -qmail -tools)
    Homepage:            http://spamassassin.apache.org/
Description: SpamAssassin is an extensible email filter which is used to identify spam.

problably the

perl-core/DB_File

needs the berkdb flag...

and maybe you should start it with -D so you get an better error message.

cheers

Arnau Bria schrieb:
Hi all,

I've a cron which trains my spamassassin and it has sttoped working:
/usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/

ERROR: the Bayes learn function returned an error, please re-run with -D for 
more information

the problem comes because there's a missing package:
perl-core/DB_File

but seems that emerge doesn't want to install it, and I'm wondering
what use I'm missing:

[I] mail-filter/spamassassin
     Available versions:  3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 
~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres 
qmail sqlite ssl tools}
     Installed versions:  3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc 
-ipv6 -ldap -mysql -postgres -qmail -sqlite -tools)

or what I'm doing wrong :-)
do I have to add DB_File to world? cause if I install the package with
oneshot option, depclean wants to remove it.

Anyone faced same problem? Cheers,


Reply via email to