1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-26 19:25:53 +02:00

changed rspamd.h plus environment

This commit is contained in:
hanscees 2024-01-31 21:03:39 +01:00
parent b34dc761f2
commit 652092d291
2 changed files with 2 additions and 2 deletions

View File

@ -452,7 +452,7 @@ Can be used to control the score when the [`HFILTER_HOSTNAME_UNKNOWN` symbol](#r
Default: 6 (which corresponds to the `add_header` action) Default: 6 (which corresponds to the `add_header` action)
##### RSPAMD_Neural ##### RSPAMD_NEURAL
Can be used to enable or disable the [Neural network module][rspamd-docs-neural-network]. This is an experimental anti-spam weigh method using three neuaral networks in the configuration added here. As far as we can tell it trains itsself by using other modules to find out what spam is. It will take a while (a week or more) to train its first neural network. The config trains new networks all the time and discards of old networks. Can be used to enable or disable the [Neural network module][rspamd-docs-neural-network]. This is an experimental anti-spam weigh method using three neuaral networks in the configuration added here. As far as we can tell it trains itsself by using other modules to find out what spam is. It will take a while (a week or more) to train its first neural network. The config trains new networks all the time and discards of old networks.
Since it is experimental it is switched of by default. Since it is experimental it is switched of by default.

View File

@ -187,7 +187,6 @@ function __rspamd__setup_default_modules() {
local DISABLE_MODULES=( local DISABLE_MODULES=(
clickhouse clickhouse
elastic elastic
neural
reputation reputation
spamassassin spamassassin
url_redirector url_redirector
@ -296,6 +295,7 @@ function __rspamd__setup_neural() {
__rspamd__log 'debug' 'Neural module is disabled' __rspamd__log 'debug' 'Neural module is disabled'
rm -f "${RSPAMD_LOCAL_D}/neural.conf" rm -f "${RSPAMD_LOCAL_D}/neural.conf"
rm -f "${RSPAMD_LOCAL_D}/neural_group.conf" rm -f "${RSPAMD_LOCAL_D}/neural_group.conf"
__rspamd__helper__enable_disable_module 'neural' 'false'
fi fi
} }