Browse Source

Enabled autolearn and redis conf for bayes

master
Fábio Kaiser Rauber 2 years ago
parent
commit
b7e315c102
  1. 5
      charts/rspamd/v0.1.0/templates/locald-configmap.yaml

5
charts/rspamd/v0.1.0/templates/locald-configmap.yaml

@ -68,3 +68,8 @@ data:
extended_spam_headers = {{ .Values.rspamd.milter.headers.extended_spam_headers }}; extended_spam_headers = {{ .Values.rspamd.milter.headers.extended_spam_headers }};
skip_local = {{ .Values.rspamd.milter.headers.skip_local }}; skip_local = {{ .Values.rspamd.milter.headers.skip_local }};
skip_authenticated = {{ .Values.rspamd.milter.headers.skip_authenticated }}; skip_authenticated = {{ .Values.rspamd.milter.headers.skip_authenticated }};
classifier-bayes.conf: |-
backend = "redis";
servers = "{{ printf "%s-%s" .Release.Name "redis-master" | trunc 63 | trimSuffix "-" }}:6379";
password = "{{ .Values.redis.auth.password }}";
autolearn = true
Loading…
Cancel
Save