mwolson: Initial migration of exim4 settings to deleuze
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / acl / 40_exim4-config_check_data
index fb219a0..5f8f25b 100644 (file)
@@ -61,6 +61,15 @@ acl_check_data:
   #             X-Spam_bar: $spam_bar\n\
   #             X-Spam_report: $spam_report
 
+  # hcoop-change: Our more-competent solution
+  warn
+    # Only run through spamassassin if the user wants this
+    condition = ${if exists{/etc/spamassassin/addrs/${local_part}@${domain}}\
+                     {yes}{no}}
+    spam = nobody:true
+    add_header = X-Spam-Score: $spam_score ($spam_bar)
+    add_header = X-Spam-Report: $spam_report
+
 
   # This hook allows you to hook in your own ACLs without having to
   # modify this file. If you do it like we suggest, you'll end up with