+++ /dev/null
-class debian_org::mail_incoming_port {
- case getfromhash($deprecated::nodeinfo, 'mail_port') {
- Numeric: { $mail_port = sprintf("%d", getfromhash($deprecated::nodeinfo, 'mail_port')) }
- /^(\d+)$/: { $mail_port = $1 }
- default: { $mail_port = '25' }
- }
-
- ferm::rule { 'dsa-mail':
- description => 'Allow SMTP',
- rule => "&SERVICE_RANGE(tcp, $mail_port, \$SMTP_SOURCES)"
- }
-
- ferm::rule { 'dsa-mail-v6':
- description => 'Allow SMTP',
- domain => 'ip6',
- rule => "&SERVICE_RANGE(tcp, $mail_port, \$SMTP_V6_SOURCES)"
- }
-}
ensure => running
}
- include debian_org::mail_incoming_port
-
munin::check { 'ps_exim4': ensure => absent }
munin::check { 'exim_mailqueue': ensure => absent }
munin::check { 'exim_mailstats': ensure => absent }