X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d3a2e51da96cc65a58e58e0ac21e92635473ef05..c2dc25574a90f18b88ec9040dd74315ef8e74893:/cookbooks/exim/recipes/default.rb diff --git a/cookbooks/exim/recipes/default.rb b/cookbooks/exim/recipes/default.rb index 1a82a2273..dbf90bdfb 100644 --- a/cookbooks/exim/recipes/default.rb +++ b/cookbooks/exim/recipes/default.rb @@ -257,6 +257,7 @@ else proto "tcp" dest_ports port source_ports "1024-65535" + not_if { smarthosts_inet.empty? } end firewall_rule "accept-inbound-smtp-#{port}" do @@ -267,6 +268,7 @@ else proto "tcp" dest_ports port source_ports "1024-65535" + not_if { smarthosts_inet6.empty? } end end end