Configure Spamassassin with MySQL under Virtualmin


I am running a Server with multiple domains and several Email accounts.
In order to give the users the possibility to configure spamassassin settings in RoundCube webmailer I want to change the storage of the spamassassin data to a MySQL database.
I found an instruction on the apache spamassassin homepage how to do this, but it does not really work. I guess because this instruction is for a single domain server and not running under virtualmin.

Is there a script to install/configure spamassassin in that way on Virtualmin?

Best reagrds,