|
|
|
@ -77,6 +77,23 @@ data: |
|
|
|
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`) |
|
|
|
{{- with .Values.rspamd.settings.symbolsWhitelist.entries }} |
|
|
|
settings.conf: |- |
|
|
|
{{- range . }} |
|
|
|
{{ .name }} { |
|
|
|
priority = {{ .priority | default "high" }}; |
|
|
|
from = {{ .from | quote }}; |
|
|
|
|
|
|
|
apply { |
|
|
|
symbols_disabled = [ |
|
|
|
{{- range .symbolsDisabled }} |
|
|
|
{{ . | quote }}, |
|
|
|
{{- end }} |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|
{{- end }} |
|
|
|
{{- end }} |
|
|
|
antivirus.conf: |- |
|
|
|
clamav { |
|
|
|
{{- range $key, $value := .Values.rspamd.antivirus.clamav }} |
|
|
|
|