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