From 8fb361f085522ac73a1cc93b68ce99b9293202ee Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 14 Mar 2024 10:52:05 +0000 Subject: [PATCH] Accept any mail that passes an osmfoundation.org SPF check --- cookbooks/exim/templates/default/exim4.conf.erb | 1 + 1 file changed, 1 insertion(+) 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}}. -- 2.45.1