X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fexim%2Fmanifests%2Fmx.pp;h=ee096196d7b34f666017dfcd06e7eeaec4222588;hb=225f9f1650b942977fc3e9f5a2e3826108d2b43f;hp=b94de8a314f745ce11f8c1dbad886e0e06a8a2ed;hpb=302a87e51dde4a989b5148795323f3721486168c;p=mirror%2Fdsa-puppet.git diff --git a/modules/exim/manifests/mx.pp b/modules/exim/manifests/mx.pp index b94de8a31..ee096196d 100644 --- a/modules/exim/manifests/mx.pp +++ b/modules/exim/manifests/mx.pp @@ -1,6 +1,7 @@ class exim::mx inherits exim { include clamav include postgrey + include fail2ban::exim file { '/etc/exim4/ccTLD.txt': source => 'puppet:///modules/exim/common/ccTLD.txt', @@ -13,17 +14,6 @@ class exim::mx inherits exim { notify => Service['exim4'], } - # 20181010 many connections: - # 188.165.219.27 - # 125.72.232.* - # 140.224.61.* - # 117.24.36.0/22 - # 115.235.157.28 - @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/22 115.235.157.28) DROP", - } - # MXs used as smarthosts @ferm::rule { 'dsa-exim-submission': description => 'Allow SMTP',