X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a68415b8f2bf106b6ea5948b0605c897b516ef4f..847ffefc0606eae909ccc4abe752fa1629085011:/cookbooks/exim/recipes/default.rb diff --git a/cookbooks/exim/recipes/default.rb b/cookbooks/exim/recipes/default.rb index 4e7c4638b..a74e4d6a5 100644 --- a/cookbooks/exim/recipes/default.rb +++ b/cookbooks/exim/recipes/default.rb @@ -23,9 +23,7 @@ package "exim4" package "openssl" package "ssl-cert" -if File.exist?("/var/run/clamav/clamd.ctl") - package "exim4-daemon-heavy" -end +package "exim4-daemon-heavy" if File.exist?("/var/run/clamav/clamd.ctl") group "ssl-cert" do action :modify @@ -72,6 +70,12 @@ if node[:exim][:smarthost_name] end end +file "/etc/exim4/blocked-senders" do + owner "root" + group "Debian-exim" + mode 0o644 +end + template "/etc/exim4/exim4.conf" do source "exim4.conf.erb" owner "root"