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