2 Boolean $manage_maincf = true,
12 include debian_org::mail_incoming_port
14 munin::check { 'ps_exim4': ensure => absent }
15 munin::check { 'exim_mailqueue': ensure => absent }
16 munin::check { 'exim_mailstats': ensure => absent }
18 munin::check { 'postfix_mailqueue': }
19 munin::check { 'postfix_mailstats': }
20 munin::check { 'postfix_mailvolume': }
21 munin::check { 'ps_smtp': script => 'ps_' }
22 munin::check { 'ps_smtpd': script => 'ps_' }
25 concat { '/etc/postfix/main.cf':
26 notify => Exec['service postfix reload'],
28 concat::fragment { 'puppet-postfix-main.cf--header':
29 target => '/etc/postfix/main.cf',
31 content => template('postfix/main.cf-header.erb')
34 include fail2ban::postfix
37 exec { 'service postfix reload':
38 path => '/usr/bin:/usr/sbin:/bin:/sbin',
39 command => 'service postfix reload',
41 require => Package['postfix'],