From: Matthijs Kooijman Date: Thu, 28 May 2009 09:39:15 +0000 (+0200) Subject: exim: Put "Message too big" in X-Spam-Score. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fservers%2Fdrsnuggles.git;a=commitdiff_plain;h=86f1a243b53fe1447126e871e7dfa9d871cb636f 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. --- 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