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"