Go back to removing previous spam headers if we think it's spam.

This commit is contained in:
Jim Hague 2023-09-07 11:27:10 +01:00
parent 45816eb74a
commit 0faf81bd95
1 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@
#deny message = Message discarded as high-probability spam
# condition = ${if eq{$spam_action}{reject}}
# This is an additional check to Mythic's rspamd, so don't
# remove any spam judgement that has made.
# Remove foreign headers
#warn remove_header = x-spam-bar : x-spam-score : x-spam-report : x-spam-status
# Mythic's rspamd will have refused any RBL failures. Leave the rest
# of the spam judgements up to our rspamd. If we think it's spam,
# remove previous spam judements.
warn remove_header = x-spam-bar : x-spam-score : x-spam-report : x-spam-status
# add spam-score and spam-report header when "add header" action is recommended by rspamd
warn