I upgraded Berkeley DB from db3 to db4 recently (as well as upgrading Perl, Postfix, installing Amavis, and a score of modules) and now Spamassassin is giving an error about the bayes db's:
Cannot open bayes_path /root/.spamassassin/bayes R/O: Inappropriate ioctl for device My assumption is that the bayes db's need to be rebuilt, but I am not sure how to do that. If I delete all of them, that will make the error go away, but I'll lose the data. I tried running 'sa-learn --rebuild' and the db4 utility db_upgrade, but neither seemed to accomplish anything. Does anyone have a good solution? Thanks, Dan