]> git.openstreetmap.org Git - chef.git/commitdiff
Exempt outgoing mail from spam checks
authorTom Hughes <tom@compton.nu>
Mon, 24 Apr 2017 12:31:23 +0000 (13:31 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 24 Apr 2017 12:45:31 +0000 (13:45 +0100)
cookbooks/exim/templates/default/exim4.conf.erb

index ca868683ac9cc9ccd79405e3b8d6b90c2a39181f..d9d12f83bab3b89c7a86c0fe2840afa5308fadc2 100644 (file)
@@ -501,6 +501,7 @@ acl_check_data:
   #   X-PHP-Originating-Script: <digits>:<name>.php
   #   X-PHP-Originating-Script: <digits>:<name>.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.