From 6466609192122378dc1fb3b526fdbd3ad0083be2 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Wed, 6 Sep 2023 14:25:24 +0100 Subject: [PATCH] Mythic are already using rspamd, so keep their result if present. --- states/email/exim4/local_check_data | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/states/email/exim4/local_check_data b/states/email/exim4/local_check_data index 2c7bb38..dd46db9 100644 --- a/states/email/exim4/local_check_data +++ b/states/email/exim4/local_check_data @@ -19,8 +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 + #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