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, } }