diff --git a/charts/rspamd/v0.1.0/templates/locald-configmap.yaml b/charts/rspamd/v0.1.0/templates/locald-configmap.yaml index d260c9e..312f761 100644 --- a/charts/rspamd/v0.1.0/templates/locald-configmap.yaml +++ b/charts/rspamd/v0.1.0/templates/locald-configmap.yaml @@ -72,4 +72,8 @@ data: backend = "redis"; servers = "{{ printf "%s-%s" .Release.Name "redis-master" | trunc 63 | trimSuffix "-" }}:6379"; password = "{{ .Values.redis.auth.password }}"; - autolearn = true \ No newline at end of file + 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`) \ No newline at end of file diff --git a/charts/rspamd/v0.1.0/values.yaml b/charts/rspamd/v0.1.0/values.yaml index d315d1c..d526adc 100644 --- a/charts/rspamd/v0.1.0/values.yaml +++ b/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"