aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/postfix-mailman.pp
diff options
context:
space:
mode:
authorMarc Fournier <marc.fournier@camptocamp.com>2008-12-03 17:53:28 +0100
committerMarc Fournier <marc.fournier@camptocamp.com>2008-12-03 17:53:28 +0100
commit28df18c79fb71407af663ee9b3c214094e1551f1 (patch)
treeca379d7992fe56a3ca79f116c05c0558f858217b /manifests/classes/postfix-mailman.pp
downloadpuppet-postfix-28df18c79fb71407af663ee9b3c214094e1551f1.tar.gz
puppet-postfix-28df18c79fb71407af663ee9b3c214094e1551f1.tar.bz2
Initial import from bzr into github.
Diffstat (limited to 'manifests/classes/postfix-mailman.pp')
-rw-r--r--manifests/classes/postfix-mailman.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/classes/postfix-mailman.pp b/manifests/classes/postfix-mailman.pp
new file mode 100644
index 0000000..6a34f45
--- /dev/null
+++ b/manifests/classes/postfix-mailman.pp
@@ -0,0 +1,20 @@
+class postfix-ng::mailman {
+ $postfix_ng_smtp_listen = "0.0.0.0"
+ include postfix-ng
+
+ postfix-ng::config {
+ "mydestination": value => "";
+ "virtual_alias_maps": value => "hash:/etc/postfix/virtual";
+ "transport_maps": value => "hash:/etc/postfix/transport";
+ "mailman_destination_recipient_limit": value => "1", nonstandard => true;
+ }
+
+ postfix-ng::hash { "/etc/postfix/virtual":
+ ensure => present,
+ }
+
+ postfix-ng::hash { "/etc/postfix/transport":
+ ensure => present,
+ }
+
+}