aboutsummaryrefslogtreecommitdiff
path: root/manifests/mail.pp
blob: cf9d5899e6be5e244dab3531ebd81886e97b91d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class nodo::mail {
  # Class for mail nodes
  $mail_host             = true
  $postfix_relayhost     = "$domain"
  $postfix_smtp_listen   = "$ip"
  $postfix_mydestination = "\$myorigin"

  include nodo::vserver
  include postfix::mta
  include database

  package { 'postfix-mysql':
    ensure => installed,
  }

  package { [ 'squirrelmail', 'squirrelmail-secure-login', 'squirrelmail-locales' ]:
    ensure => installed,
  }
}