spamassassin bayes: DB_File module not installed, cannot use bayes
As mentioned in 68e77a6a the bdb support was removed due to licensing issues. But this breaks the default bayes database. The following demonstrate the issue:
sa-learn -D --dump magic
...
dbg: bayes: DB_File module not installed, cannot use bayes
...
ERROR: Bayes dump returned an error, please re-run with -D for more information
Using amavis with spamassassin needs 2 databases; one for quarantine and one for bayes. By default both use bdb.
The default amavis quarantine database, which depend on bdb support, works in v3.13 since the package perl-db is available. Unfortunately since the package perl-db_file is not available the default spamassassin bayes database cannot be used.
The perl-db_file package was removed in 5a48ee64 with the comment that "No package should depend on it". Still, the functionality of spamassassin is limited without it.
Is there any chance we can reinstate the perl-db_file package? If not, does the maintainers have any alternative suggestion on how we can address this issue?