From c2dc25574a90f18b88ec9040dd74315ef8e74893 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 7 Mar 2023 21:25:18 +0000 Subject: [PATCH] Fix test failures --- cookbooks/exim/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5