]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/postfix/manifests/init.pp
0d10b4e883839aa35e8944750ccd8678f43f178d
[dsa-puppet.git] / modules / postfix / manifests / init.pp
1 class postfix {
2         munin::check { 'ps_exim4':       ensure => absent }
3         munin::check { 'exim_mailqueue': ensure => absent }
4         munin::check { 'exim_mailstats': ensure => absent }
5
6         munin::check { 'postfix_mailqueue': }
7         munin::check { 'postfix_mailstats': }
8         munin::check { 'postfix_mailvolume': }
9         munin::check { 'ps_smtp': script => 'ps_' }
10         munin::check { 'ps_smtpd': script => 'ps_' }
11
12         @ferm::rule {
13                 domain      => '(ip ip6)',
14                 description => 'Allow smtp access',
15                 rule        => '&SERVICE(tcp, 25)'
16         }
17 }