Skip to content

Commit 1b4c23b

Browse files
committed
Drop attempt at SPF checking
1 parent 8fb361f commit 1b4c23b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

cookbooks/exim/templates/default/exim4.conf.erb

-11
Original file line numberDiff line numberDiff line change
@@ -382,17 +382,6 @@ begin acl
382382
# SMTP message.
383383

384384
acl_check_mail:
385-
<% if node[:exim][:smarthost_name] -%>
386-
387-
# Reject mail that fails SPF checks
388-
389-
deny spf = fail
390-
condition = ${if eq {${lookup{postmaster@osmfoundation.org}spf{$sender_host_address}}}{fail}}
391-
message = $sender_host_address is not allowed to send mail from \
392-
${if def:sender_address_domain \
393-
{$sender_address_domain}{$sender_helo_name}}.
394-
!hosts = +relay_from_hosts
395-
<% end -%>
396385

397386
accept
398387

0 commit comments

Comments
 (0)