From 86f1a243b53fe1447126e871e7dfa9d871cb636f Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 28 May 2009 11:39:15 +0200 Subject: [PATCH 1/1] exim: Put "Message too big" in X-Spam-Score. Previously, the "Message too big, not scanned." message was put in the X-Spam-Report header. Putting it in X-Spam-Score allows clients to see the what and why of a spam score withouth downloading the (probably larger) X-Spam-Report header. --- etc/exim4/conf.d/acl/40_exim4-config_check_data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/exim4/conf.d/acl/40_exim4-config_check_data b/etc/exim4/conf.d/acl/40_exim4-config_check_data index a6f5a50..2313789 100644 --- a/etc/exim4/conf.d/acl/40_exim4-config_check_data +++ b/etc/exim4/conf.d/acl/40_exim4-config_check_data @@ -18,7 +18,7 @@ acl_check_data: # Don't spamcheck big messages accept condition = ${if >{$message_size}{80k}} - add_header = X-Spam-Report: Message too big, not scanned. + add_header = X-Spam-Score: Message too big, not scanned. # Deny messages with a large spamscore. The threshold is set by # spamassassin, see required_score in /etc/spamassassin/local.cf -- 2.30.2