# 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,
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")
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"