From: Tom Hughes Date: Mon, 24 Apr 2017 12:31:23 +0000 (+0100) Subject: Exempt outgoing mail from spam checks X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ebdaae1efe2eba3b67edbce8f2a6d256f97cae84?ds=sidebyside Exempt outgoing mail from spam checks --- 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.