Browse Source

Customize spam action thresholds

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

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

@ -73,3 +73,7 @@ data:
servers = "{{ printf "%s-%s" .Release.Name "redis-master" | trunc 63 | trimSuffix "-" }}:6379";
password = "{{ .Values.redis.auth.password }}";
autolearn = true
actions.conf: |-
reject = {{ .Values.rspamd.actions.reject }}; # Reject when reaching this score
add_header = {{ .Values.rspamd.actions.add_header }}; # Add header when reaching this score
greylist = {{ .Values.rspamd.actions.greylist }}; # Apply greylisting when reaching this score (will emit `soft reject action`)

5
charts/rspamd/v0.1.0/values.yaml

@ -80,6 +80,11 @@ rspamd:
skip_local: "false"
skip_authenticated: "false"
actions:
reject: 15
add_header: 6
greylist: 4
workerProxy:
milter: "yes"
timeout: "120s"

Loading…
Cancel
Save