From 7351af59b5182c5f288e73d800e7beebd52d4108 Mon Sep 17 00:00:00 2001 From: Fabio Date: Thu, 1 Sep 2022 10:32:56 -0300 Subject: [PATCH] Added milter header configuration --- charts/rspamd/v0.1.0/templates/locald-configmap.yaml | 6 +++++- charts/rspamd/v0.1.0/values.yaml | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/charts/rspamd/v0.1.0/templates/locald-configmap.yaml b/charts/rspamd/v0.1.0/templates/locald-configmap.yaml index 5bdaebd..8e676fb 100644 --- a/charts/rspamd/v0.1.0/templates/locald-configmap.yaml +++ b/charts/rspamd/v0.1.0/templates/locald-configmap.yaml @@ -63,4 +63,8 @@ data: {{- else -}} {{ $key }} = "{{ $value }}"; {{- end -}} - {{- end }} \ No newline at end of file + {{- end }} + milter_headers.conf: |- + extended_spam_headers = {{ .Values.rspamd.milter.headers.extended_spam_headers }}; + skip_local = {{ .Values.rspamd.milter.headers.skip_local }}; + skip_authenticated = {{ .Values.rspamd.milter.headers.skip_authenticated }}; \ 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 7de4134..d315d1c 100644 --- a/charts/rspamd/v0.1.0/values.yaml +++ b/charts/rspamd/v0.1.0/values.yaml @@ -73,6 +73,12 @@ rspamd: use_redis: "false" # Hash for DKIM keys in Redis key_prefix: "DKIM_KEYS" + + milter: + headers: + extended_spam_headers: "true" + skip_local: "false" + skip_authenticated: "false" workerProxy: milter: "yes"