|
|
|
@ -77,10 +77,6 @@ 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 . }} |
|
|
|
@ -101,10 +97,6 @@ data: |
|
|
|
{{- end }} |
|
|
|
} |
|
|
|
{{- end }} |
|
|
|
# Explicitly enable a custom adjustment symbol |
|
|
|
symbols_enabled = [ |
|
|
|
"CUSTOM_WHITELIST_BONUS" |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|
{{- end }} |
|
|
|
|