10 include debian_org::mail_incoming_port
12 munin::check { 'ps_exim4': ensure => absent }
13 munin::check { 'exim_mailqueue': ensure => absent }
14 munin::check { 'exim_mailstats': ensure => absent }
16 munin::check { 'postfix_mailqueue': }
17 munin::check { 'postfix_mailstats': }
18 munin::check { 'postfix_mailvolume': }
19 munin::check { 'ps_smtp': script => 'ps_' }
20 munin::check { 'ps_smtpd': script => 'ps_' }
22 if ! has_role('lists') {
23 concat { '/etc/postfix/main.cf':
24 notify => Exec['service postfix reload'],
26 concat::fragment { 'puppet-postfix-main.cf--header':
27 target => '/etc/postfix/main.cf',
29 content => template('postfix/main.cf-header.erb')
33 exec { 'service postfix reload':
34 path => '/usr/bin:/usr/sbin:/bin:/sbin',
35 command => 'service postfix reload',
37 require => Package['postfix'],