rspamd: add neural module config (#3833)

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
Hans-Cees Speel 2024-02-01 17:34:33 +01:00 committed by GitHub
parent 05fbcf6889
commit 45935f5fb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 105 additions and 1 deletions

View file

@ -71,6 +71,7 @@ function __environment_variables_general_setup() {
VARS[RSPAMD_GREYLISTING]="${RSPAMD_GREYLISTING:=0}"
VARS[RSPAMD_HFILTER]="${RSPAMD_HFILTER:=1}"
VARS[RSPAMD_HFILTER_HOSTNAME_UNKNOWN_SCORE]="${RSPAMD_HFILTER_HOSTNAME_UNKNOWN_SCORE:=6}"
VARS[RSPAMD_NEURAL]="${RSPAMD_NEURAL:=0}"
VARS[RSPAMD_LEARN]="${RSPAMD_LEARN:=0}"
VARS[SA_KILL]=${SA_KILL:="10.0"}
VARS[SPAM_SUBJECT]=${SPAM_SUBJECT:=}