]> git.openstreetmap.org Git - chef.git/commitdiff
Accept any mail that passes an osmfoundation.org SPF check
authorTom Hughes <tom@compton.nu>
Thu, 14 Mar 2024 10:52:05 +0000 (10:52 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 14 Mar 2024 10:52:05 +0000 (10:52 +0000)
cookbooks/exim/templates/default/exim4.conf.erb

index d1c3ccfb353f35ec6f704b4229a0b39e3b43de24..e8d2786ba07c37092c41f6ea2744efb0d40e957a 100644 (file)
@@ -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}}.