Did you try this tutorial?
http://www.iredmail.org/wiki/index.php? … yes.In.SQL
Hi Zhang
I did it, I do not see any error ... when marked a message as spam, move it to the spam folder and database sa_bayes get different results. but when I send the same email to the same email account appears in my inbox and not in the spam folder, not blocked.
Looks fine:
*********************************************************
Mar 20 12:20:20 xxx roundcube: sa-learn --spam --username=vmail /var/www/roundcubemail-0.7/temp/rcmSALearnuwwFmn
Mar 20 12:20:20 xxx roundcube: array (#012 0 => 'Learned tokens from 1 message(s) (1 message(s) examined)',#012)
mysql> SELECT COUNT(*) FROM bayes_token;
+----------+
| COUNT(*) |
+----------+
| 45758 |
+----------+
1 row in set (0.00 sec)
mysql> SELECT COUNT(*) FROM bayes_token;
+----------+
| COUNT(*) |
+----------+
| 45917 |
+----------+
1 row in set (0.00 sec)
*********************************************************
Regards.
Thanks for advice!