aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/postfix-mailman.pp
blob: ace2af1e1e69825f127fcbf3ee557d05536e6cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class postfix::mailman {
  $postfix_ng_smtp_listen = "0.0.0.0"
  include postfix

  postfix::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::hash { "/etc/postfix/virtual":
    ensure => present,
  }

  postfix::hash { "/etc/postfix/transport":
    ensure => present,
  }

}