class nodo::mail { # Class for mail nodes $mail_host = true $postfix_relayhost = "$domain" $postfix_smtp_listen = "$ipaddress" $postfix_mydestination = "\$myorigin" include nodo::vserver include postfix::mta include database # The needed packages package { 'postfix-mysql': ensure => installed, } package { [ 'squirrelmail', 'squirrelmail-secure-login', 'squirrelmail-locales' ]: ensure => installed, } # Postfix configuration postfix::config { "myhostname": value => "$fqdn" } }