]> git.openstreetmap.org Git - chef.git/commitdiff
Drop attempt at SPF checking
authorTom Hughes <tom@compton.nu>
Thu, 14 Mar 2024 11:19:04 +0000 (11:19 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 14 Mar 2024 11:19:04 +0000 (11:19 +0000)
cookbooks/exim/templates/default/exim4.conf.erb

index e8d2786ba07c37092c41f6ea2744efb0d40e957a..ffc8be609f4d9f2f360cd37dd9015a063db908ee 100644 (file)
@@ -382,17 +382,6 @@ begin acl
 # SMTP message.
 
 acl_check_mail:
-<% if node[:exim][:smarthost_name] -%>
-
-  # Reject mail that fails SPF checks
-
-  deny    spf           = fail
-          condition     = ${if eq {${lookup{postmaster@osmfoundation.org}spf{$sender_host_address}}}{fail}}
-          message       = $sender_host_address is not allowed to send mail from \
-                          ${if def:sender_address_domain \
-                               {$sender_address_domain}{$sender_helo_name}}.
-          !hosts        = +relay_from_hosts
-<% end -%>
 
   accept