aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-04-20 21:56:04 +0100
committerPascal Terjan <pterjan@mageia.org>2017-04-20 21:56:04 +0100
commitd568673acdf3e59a0dd33cfb49f4138012495e08 (patch)
tree8bfbce7ec353bde466a684a0d5b149647a05581d /modules/sympa
parent20b242cd69ab02b88ecd4ba3d70ee43ee495bbb2 (diff)
downloadpuppet-d568673acdf3e59a0dd33cfb49f4138012495e08.tar
puppet-d568673acdf3e59a0dd33cfb49f4138012495e08.tar.gz
puppet-d568673acdf3e59a0dd33cfb49f4138012495e08.tar.bz2
puppet-d568673acdf3e59a0dd33cfb49f4138012495e08.tar.xz
puppet-d568673acdf3e59a0dd33cfb49f4138012495e08.zip
Setup postfix to route to local sympa when installed, even if not primary smtp
Diffstat (limited to 'modules/sympa')
-rw-r--r--modules/sympa/manifests/server.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/sympa/manifests/server.pp b/modules/sympa/manifests/server.pp
index 7eca4dca..429c5ae4 100644
--- a/modules/sympa/manifests/server.pp
+++ b/modules/sympa/manifests/server.pp
@@ -94,4 +94,11 @@ class sympa::server(
ensure => directory,
owner => 'sympa',
}
+
+ file {
+ '/etc/postfix/master.cf':
+ content => template('postfix/primary_master.cf');
+ '/etc/postfix/sympa_aliases':
+ content => template('postfix/sympa_aliases');
+ }
}