Runberg wrote:
ZhangHuangbin wrote:Runberg wrote:3) Users should be able to mark spam for future reference (is this the guide to follow: https://docs.iredmail.org/store.spamass … n.sql.html )
yes.
I tried to follow the guide, but when updating the database I get this error:
mysql> USE sa_bayes; Database changed mysql> SOURCE /root/bayes_mysql.sql; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 5 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 5 ERROR 1146 (42S02): Table 'sa_bayes.bayes_global_vars' doesn't exist ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 14 mysql>
Any good ideas?
Solved - I replaced TYPE=MyISAM with ENGINE=MyISAM and it all seemed to be working
For others who might have a look at this post, the guide https://docs.iredmail.org/store.spamass … n.sql.html could use an update / rewrite for Ubuntu / latest versions ...