summaryrefslogtreecommitdiff
path: root/puppet/modules
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
parent5d25466e8365577c48df98afdd22d2880b7ef5ce (diff)
setup email account 'blacklist' by configuring reserved aliases, effectively implementing RFC2142 and more (#3602)
Change-Id: Ic2765b25ff9e1560def4900a1bf38dc8023b0ffa
Diffstat (limited to 'puppet/modules')
-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'
+ }
+
+}