summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix/manifests/mx
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-10-08 19:39:18 -0400
committerMicah Anderson <micah@leap.se>2013-10-09 21:05:25 -0400
commit9890125a57c3a06792e8d08ba15f1b636c764c61 (patch)
tree266cdff8de8558d26259370665b0f0b1cb27c754 /puppet/modules/site_postfix/manifests/mx
parent5d25466e8365577c48df98afdd22d2880b7ef5ce (diff)
setup email account 'blacklist' by configuring reserved aliases, effectively implementing RFC2142 and more (#3602)
Change-Id: Ic2765b25ff9e1560def4900a1bf38dc8023b0ffa
Diffstat (limited to 'puppet/modules/site_postfix/manifests/mx')
-rw-r--r--puppet/modules/site_postfix/manifests/mx/reserved_aliases.pp13
1 files changed, 13 insertions, 0 deletions
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'
+ }
+
+}