Spamassassin and clean SQL database


When starting spamassassin with empty sql database You can see

‘WARN: bayes: database versionĀ  is different than we understand (3), aborting!’ in logs.

It should be read as ‘database is too empty’.Spamassassin stores its database version number in database. If it can not find its database version, it dies.

 

Simple fix for it:
insert into bayes_global_vars (variable,value) VALUES ("VERSION",3);
You must use correct database of course.

Leave a comment

Your email address will not be published. Required fields are marked *