summaryrefslogtreecommitdiff
path: root/manifests/schleuder.pp
blob: b77fe70746a2f815968d96601d59d817145c3ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Manages a schleuder farm.
#
# You might also want to edit or manage /etc/schleuder/schleuder.conf
# and customize things such as superadminaddr.
class mail::schleuder(
  $subdomain = lookup('schleuder_subdomain', undef, undef, $mail::schleuder::params::subdomain)
) {

  # Schleuder subsystems
  include mail::schleuder::packages

  postfix::config { "schleuder_destination_recipient_limit": value => '1', nonstandard => true }

  postfix::transport { "${subdomain}.$domain":
    ensure      => present,
    destination => "schleuder",
  }
}