summaryrefslogtreecommitdiff
path: root/manifests/packages.pp
blob: e9f351c6284bbd5de39abbc8a9a79d984ab0bc82 (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 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-secure-login', 'squirrelmail-locales' ]:
    ensure => installed,
  } 
}