summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2014-03-24 08:07:18 +0100
committerkwadronaut <kwadronaut@leap.se>2014-03-24 08:07:18 +0100
commitb45d265a08884a65e7100e34067a0d8c390da8f0 (patch)
treef8af7bba7e7fcb92cdca137a46b13a85a4d50d84 /puppet
parenta8c9d80317240d86cb7de652c23efbd7bc81bde2 (diff)
fixes #5360 adds admin@ as reserved address + linting
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp12
1 files changed, 7 insertions, 5 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp b/puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp
index aea66f78..83e27376 100644
--- a/puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp
+++ b/puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp
@@ -1,11 +1,13 @@
+# Defines which mail addresses shouldn't be available and where they should fwd
class site_postfix::mx::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' ]:
+ [ 'abuse', 'admin', 'arin-admin', 'administrator', 'bin', 'cron',
+ 'certmaster', 'domainadmin', 'games', 'ftp', 'hostmaster', 'lp',
+ 'maildrop', 'mysql', 'news', 'nobody', 'noc', 'postmaster', 'postgresql',
+ 'security', 'ssladmin', 'sys', 'usenet', 'uucp', 'webmaster', 'www',
+ 'www-data',
+ ]:
ensure => present,
recipient => 'root'
}