Tristan
Verified User
According to the CB2 changelog:
We should now have support to build Redis, have the PHP-Redis extension and have Rspamd Redis support? Is there any documentation available on how to enable all this? Couldn't find a mention on http://docs.directadmin.com yet. Is it something like:
Afterwards while /etc/rspamd/local.d/redis.conf contains servers = "/var/lib/rspamd/.redis/redis.sock"; and seems to running fine, trying to upload SPAM/HAM within the Rspamd web interface it still fails with:
Rspamd log:
2718, 2717 - Skip PHP-Redis installation on PHP 5.x.
2715 - Hide redis update in "./build versions" if redis=no is set.
2713 - Add redis=yes/no configuration option.
2706 - Added PHP-Redis extension support.
2705 - Added redis for rspamd support.
We should now have support to build Redis, have the PHP-Redis extension and have Rspamd Redis support? Is there any documentation available on how to enable all this? Couldn't find a mention on http://docs.directadmin.com yet. Is it something like:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set redis yes
./build set_php redis yes
./build set spamd rspamd
./build redis
./build rspamd
./build exim_conf
Afterwards while /etc/rspamd/local.d/redis.conf contains servers = "/var/lib/rspamd/.redis/redis.sock"; and seems to running fine, trying to upload SPAM/HAM within the Rspamd web interface it still fails with:
Code:
local > Request failed: Unknown statistics error, found when storing data on backend; classifier: (null)
Request failed
Rspamd log:
Code:
2021-06-07 13:11:58 #9880(controller) <73f5b1>; csession; rspamd_controller_check_password: allow unauthorized connection from a unix socket
2021-06-07 13:11:59 #9880(controller) <70d39e>; csession; rspamd_controller_check_password: allow unauthorized connection from a unix socket
2021-06-07 13:11:59 #9880(controller) <70d39e>; csession; rspamd_message_parse: loaded message; id: <2A0LCBDYWI5S.WJFC3450EA@WIN-UIR344453ASkk7124>; queue-id: <undef>; size: 119932; checksum: <e72dc50f334d46278c43c7b2070513c6>
2021-06-07 13:11:59 #9880(controller) <70d39e>; csession; rspamd_url_text_extract: got empty text part
2021-06-07 13:11:59 #9880(controller) <70d39e>; csession; rspamd_mime_part_detect_language: detected part language: en
2021-06-07 13:11:59 #9880(controller) <70d39e>; csession; rspamd_stat_classifiers_process: skip statistics as SPAM class is missing
2021-06-07 13:11:59 #9880(controller) <70d39e>; csession; rspamd_task_process: learn error: Unknown statistics error, found when storing data on backend; classifier: (null)
2021-06-07 13:11:59 #9880(controller) <70d39e>; csession; rspamd_controller_learn_fin_task: cannot learn <2A0LCBDYWI5S.WJFC3450EA@WIN-UIR344453ASkk7124>: Unknown statistics error, found when storing data on backend; classifier: (null)
Last edited: