aboutsummaryrefslogtreecommitdiff
path: root/manifests/mail.pp
blob: be544c068df621dde8c8ee17913710c4bc759573 (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,
  }
}