]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/recipes/default.rb
Merge remote-tracking branch 'github/pull/528'
[chef.git] / cookbooks / exim / recipes / default.rb
index e8e333b9bcc27da22c72db47b3767d78995e8b43..30617cc8e3da18a4877fba292dae0353ef52dd19 100644 (file)
@@ -25,6 +25,7 @@ package %w[
   exim4
   openssl
   ssl-cert
+  mailutils
 ]
 
 package "exim4-daemon-heavy" do
@@ -211,11 +212,20 @@ remote_directory "/etc/exim4/noreply" do
   purge true
 end
 
+template "/etc/mail.rc" do
+  source "mail.rc.erb"
+  owner "root"
+  group "root"
+  mode "644"
+end
+
 munin_plugin "exim_mailqueue"
 munin_plugin "exim_mailstats"
 
 prometheus_exporter "exim" do
   port 9636
+  user "Debian-exim"
+  protect_proc "default"
 end
 
 if node[:exim][:smarthost_name]