X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ea0715b4be41a1d1600bba7a1f5d0b988708579f..2d43acf0477a2dbf2efaed7480d0d73454d8196e:/cookbooks/exim/recipes/default.rb?ds=inline diff --git a/cookbooks/exim/recipes/default.rb b/cookbooks/exim/recipes/default.rb index 099e047c6..1bbd084ee 100644 --- a/cookbooks/exim/recipes/default.rb +++ b/cookbooks/exim/recipes/default.rb @@ -144,11 +144,12 @@ else end end -firewall_rule "deny-outbound-smtp" do - action :reject - source "fw" - dest "net" - proto "tcp:syn" - dest_ports "smtp" - only_if { node[:exim][:smarthost_via] } +if node[:exim][:smarthost_via] # ~FC023 + firewall_rule "deny-outbound-smtp" do + action :reject + source "fw" + dest "net" + proto "tcp:syn" + dest_ports "smtp" + end end