X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/307adfed3045a1673b09bccce74acaaf530d3c9b..57ee30ffe5e6106f3cbd9a91c1599eb5b51e8c36:/cookbooks/exim/recipes/default.rb?ds=inline diff --git a/cookbooks/exim/recipes/default.rb b/cookbooks/exim/recipes/default.rb index 2aabb40ff..65ab8342f 100644 --- a/cookbooks/exim/recipes/default.rb +++ b/cookbooks/exim/recipes/default.rb @@ -8,7 +8,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -19,9 +19,11 @@ include_recipe "networking" -package "exim4" -package "openssl" -package "ssl-cert" +package %w[ + exim4 + openssl + ssl-cert +] package "exim4-daemon-heavy" if File.exist?("/var/run/clamav/clamd.ctl") @@ -70,6 +72,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"