exim: Put "Message too big" in X-Spam-Score.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / acl / 40_exim4-config_check_data
index 58a65f3f148caf65d85eab9e918419cc3a9a65e4..23137891411261283699fdc2718aeeca11b242f1 100644 (file)
@@ -15,17 +15,10 @@ acl_check_data:
     message = Message headers fail syntax check
     !verify = header_syntax
 
-
-  # require that there is a verifiable sender address in at least
-  # one of the "Sender:", "Reply-To:", or "From:" header lines.
-  deny
-    message = No verifiable sender address in message headers
-    !verify = header_sender
-
   # 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