X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b759f92eb9b944a8de2de022aa6f9d2a0e76cc21..f59b522f292def10d39f5bb6e4fbe770add1b5c4:/cookbooks/exim/templates/default/exim4.conf.erb diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index 6babb839a..96f0cad77 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -506,7 +506,11 @@ acl_check_rcpt: # relay domains is to use a callout (add /callout), but please read the # documentation about callouts before doing this. - require verify = recipient + require verify = recipient + !domains = +relay_to_domains + + require verify = recipient/callout + domains = +relay_to_domains <% if node[:exim][:dns_blacklists] -%> # Deny any messages from hosts in certain blacklists.