class exim::mx inherits exim {
include clamav
include postgrey
+ include fail2ban::exim
file { '/etc/exim4/ccTLD.txt':
source => 'puppet:///modules/exim/common/ccTLD.txt',
notify => Service['exim4'],
}
- # 20181010 many connections:
- # 188.165.219.27
- # 125.72.232.*
- # 140.224.61.*
- # 117.24.38.*
- @ferm::rule { 'dsa-mail-abusers':
- prio => "000",
- rule => "saddr (188.165.219.27 125.72.232.0/24 140.224.61.0/24 117.24.38.0/24) DROP",
- }
-
# MXs used as smarthosts
@ferm::rule { 'dsa-exim-submission':
description => 'Allow SMTP',
port => 587,
hostname => "$::fqdn",
}
- package { 'nagios-plugins-standard':
+ package { 'monitoring-plugins-standard':
ensure => installed,
}