From: Tom Hughes Date: Thu, 14 Mar 2024 11:19:04 +0000 (+0000) Subject: Drop attempt at SPF checking X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/1b4c23bbb92abb8f52af71dd14672489488d73c3 Drop attempt at SPF checking --- diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index e8d2786ba..ffc8be609 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -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