|
|
|
@ -77,6 +77,10 @@ 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`) |
|
|
|
{{- if hasKey .Values.rspamd.settings.symbolsWhitelist "score" }} |
|
|
|
scores.conf: |- |
|
|
|
"CUSTOM_WHITELIST_BONUS" = {{ .Values.rspamd.settings.symbolsWhitelist.score }}; |
|
|
|
{{- end }} |
|
|
|
{{- with .Values.rspamd.settings.symbolsWhitelist.entries }} |
|
|
|
settings.conf: |- |
|
|
|
{{- range . }} |
|
|
|
@ -90,9 +94,10 @@ data: |
|
|
|
{{ . | quote }}, |
|
|
|
{{- end }} |
|
|
|
]; |
|
|
|
{{- if hasKey . "score" }} |
|
|
|
score = {{ .score }}; |
|
|
|
{{- end }} |
|
|
|
# Explicitly enable a custom adjustment symbol |
|
|
|
symbols_enabled = [ |
|
|
|
"CUSTOM_WHITELIST_BONUS" |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|
{{- end }} |
|
|
|
|