changed rspamd.h plus environment
This commit is contained in:
parent
b34dc761f2
commit
652092d291
|
@ -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)
|
||||
|
||||
|
||||
##### 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.
|
||||
Since it is experimental it is switched of by default.
|
||||
|
|
|
@ -187,7 +187,6 @@ function __rspamd__setup_default_modules() {
|
|||
local DISABLE_MODULES=(
|
||||
clickhouse
|
||||
elastic
|
||||
neural
|
||||
reputation
|
||||
spamassassin
|
||||
url_redirector
|
||||
|
@ -296,6 +295,7 @@ function __rspamd__setup_neural() {
|
|||
__rspamd__log 'debug' 'Neural module is disabled'
|
||||
rm -f "${RSPAMD_LOCAL_D}/neural.conf"
|
||||
rm -f "${RSPAMD_LOCAL_D}/neural_group.conf"
|
||||
__rspamd__helper__enable_disable_module 'neural' 'false'
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue