From ebdaae1efe2eba3b67edbce8f2a6d256f97cae84 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 24 Apr 2017 13:31:23 +0100 Subject: [PATCH] Exempt outgoing mail from spam checks --- cookbooks/exim/templates/default/exim4.conf.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index ca868683a..d9d12f83b 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -501,6 +501,7 @@ acl_check_data: # X-PHP-Originating-Script: :.php # X-PHP-Originating-Script: :.class.php deny condition = ${if match {$h_X-PHP-Originating-Script:}{^[0-9]+:[A-Za-z]+(\\.class)?\\.php\$}} + !hosts = +relay_from_hosts message = This message failed local spam checks. # Accept the message. -- 2.43.2