aboutsummaryrefslogtreecommitdiff
path: root/manifests/mail.pp
blob: cd3e37c1cca0e6f89b4a4b0570b30292e13c434d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class nodo::mail {
  # General configuration
  $volatile_enabled = true
  $mail_virtual     = true
  $mail_delivery    = "postfix"

  # Sympa mailing list manager
  case $mail_sympa {
    true,'disabled': {
      $sympa_subdomain  = "listas"
      $sympa_lang       = "pt_BR"
    }
  }

  # Class inclusion
  include nodo::vserver
  include mail::system

  backupninja::mysql { "all_databases":
  	backupdir => '/var/backups/mysql',
  	compress  => true,
  	sqldump   => true,
    hotcopy   => true,
  }
}