]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/recipes/default.rb
Remove forced downgrade of hp-health
[chef.git] / cookbooks / exim / recipes / default.rb
index 4e7c4638ba86a07e691048b4ce4a99cff0336b5a..a74e4d6a508693c77a71b7ef0df74537a6a55ab4 100644 (file)
@@ -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"