From: Mark Wooding Date: Fri, 10 Jan 2014 11:27:26 +0000 (+0000) Subject: spam.m4: Apply Exim's header validation to incoming messages. X-Git-Url: https://git.distorted.org.uk/~mdw/exim-config/commitdiff_plain/09ca3919fb89a98386fc6863699ed5d7835373f1 spam.m4: Apply Exim's header validation to incoming messages. --- diff --git a/spam.m4 b/spam.m4 index 705fbee..d1b7c50 100644 --- a/spam.m4 +++ b/spam.m4 @@ -116,6 +116,9 @@ data_spam: ## If the client is trusted, don't bother with any of this. accept hosts = +trusted + ## Check header validity. + require verify = header_syntax + ## Check the message for spam, comparing to the configured limit. deny spam = exim:true message = Tinned meat product detected ($spam_score)