summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp1
-rw-r--r--puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp13
2 files changed, 14 insertions, 0 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index e44b7a9a..a043c277 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -34,6 +34,7 @@ class site_postfix::mx {
include site_postfix::mx::smtpd_checks
include site_postfix::checks
include site_postfix::mx::tls
+ include site_postfix::mx::reserved_aliases
# greater verbosity for debugging, take out for production
#include site_postfix::debug
diff --git a/puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp b/puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp
new file mode 100644
index 00000000..6df53355
--- /dev/null
+++ b/puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp
@@ -0,0 +1,13 @@
+class site_postfix::reserved_aliases {
+
+ postfix::mailalias {
+ [ 'postmaster', 'hostmaster', 'domainadmin', 'certmaster', 'ssladmin',
+ 'arin-admin', 'administrator', 'webmaster', 'www-data', 'www',
+ 'nobody', 'sys', 'postgresql', 'mysql', 'bin', 'cron', 'lp', 'games',
+ 'maildrop', 'abuse', 'noc', 'security', 'usenet', 'news', 'uucp',
+ 'ftp':
+ ensure => present,
+ recipient => 'root'
+ }
+
+}