summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-10-14 17:50:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-10-14 17:50:04 -0300
commit0426f5e47f64c2c502815836a6a734f7c2e299de (patch)
tree331fe4420dbd7195cf22efe09b853a91be044ef9 /templates
parent201807bf576afd286d7c0d7d31796b00ae9706b3 (diff)
downloadpuppet-exim-0426f5e47f64c2c502815836a6a734f7c2e299de.tar.gz
puppet-exim-0426f5e47f64c2c502815836a6a734f7c2e299de.tar.bz2
Aliases: support for templates and custom root recipient
Diffstat (limited to 'templates')
-rw-r--r--templates/aliases.erb14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/aliases.erb b/templates/aliases.erb
new file mode 100644
index 0000000..9fdf782
--- /dev/null
+++ b/templates/aliases.erb
@@ -0,0 +1,14 @@
+# /etc/aliases
+mailer-daemon: postmaster
+postmaster: root
+nobody: root
+hostmaster: root
+usenet: root
+news: root
+webmaster: root
+www: root
+ftp: root
+abuse: root
+noc: root
+security: root
+<% if @root_mail_recipient != 'root' -%>root: <%= @root_mail_recipient %><% end %>