Browse Source

Only disable worker-normal in milter mode

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

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

@ -46,7 +46,9 @@ data:
spam_header = "{{ .Values.rspamd.workerProxy.spamHeader }}"; # Use the specific spam header
reject_message = "{{ .Values.rspamd.workerProxy.rejectMessage }}"; # Use custom rejection message
worker-normal.inc: |-
{{ if eq .Values.rspamd.workerProxy.milter "yes" -}}
# Disable worker-normal in Milter mode
worker "normal" {
enabled = false;
}
}
{{- end -}}
Loading…
Cancel
Save