Puppet Class: isp3node::profile::mail

Defined in:
manifests/profile/mail.pp

Overview

Configuration profile for standalone ISP3 mail server feat. postfix and dovecot with rspamd optional with mailman ran under additional minimal nginx manages SSL certificates for services (optional obtained from LE)



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/profile/mail.pp', line 5

class isp3node::profile::mail() {
  class {'isp3node::base':
    le_deploycommands => [
      'systemctl restart postfix',
      'systemctl restart dovecot',
      'systemctl reload nginx'
    ]
  }
  -> class {'isp3node::mariadb':}
  -> class {'isp3node::postfix': mode => 'standalone'}
  # Redis is required by rspamd as configured by dovecot
  -> class {'isp3node::redis':}
  -> class {'isp3node::dovecot':}
  -> class {'isp3node::nginx':}
  -> class {'isp3node::php': set => 'mail'}
  -> class {'isp3node::mailman':}
  -> class {'isp3node::roundcube':}
  -> class {'isp3node::fail2ban':}
}