summaryrefslogtreecommitdiff
path: root/manifests/packages.pp
blob: 258336e395d43158e253b2b2f5301dbe38c4edeb (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
26
27
28
29
30
class mail::packages {
  # The needed packages
  package { [ 'postfix-mysql', 'dovecot-imapd', 'maildrop' ]:
    ensure => installed,
  }

  # Don't use Cyrus SASL
  # TODO: remove this block in the future
  package { [ 'libauthen-sasl-cyrus-perl', 'libsasl2-modules',
              'libsasl2-modules-sql',      'sasl2-bin' ]:
    ensure => absent,
  }

  package { [ 'postgrey', 'amavisd-new', 'spamassassin', 'spamc', 'libpam-mysql', 'libgsasl7' ]:
    ensure => installed,
  }

  package { [ 'clamav-base', 'clamav-daemon', 'clamav-freshclam' ]:
    ensure => installed,
  }

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

  # We'll force SSL through the proxy
  package { 'squirrelmail-secure-login':
    ensure => absent,
  }
}