From: Tom Hughes Date: Thu, 14 Mar 2024 10:52:05 +0000 (+0000) Subject: Accept any mail that passes an osmfoundation.org SPF check X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8fb361f085522ac73a1cc93b68ce99b9293202ee Accept any mail that passes an osmfoundation.org SPF check --- diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index d1c3ccfb3..e8d2786ba 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -387,6 +387,7 @@ acl_check_mail: # 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}}.