]> Frank Brehm's Git Trees - config/sarah/etc.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Tue, 9 Jan 2018 05:29:11 +0000 (06:29 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 9 Jan 2018 05:29:11 +0000 (06:29 +0100)
fail2ban/jail.d/postfix.conf
fail2ban/jail.local

index 3b1751a2559238fe6d73de032c9e5ac97dbc8221..934162743f99c59195b628e65d46ec29fbe4dfa0 100644 (file)
@@ -6,6 +6,7 @@ port     = smtp,ssmtp,submission
 filter   = postfix
 logpath  = /var/log/syslog.d/mail.log
 action   = %(action_mw)s
+ignoreip    = 127.0.0.1 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 185.48.118.128 162.254.24.33 185.102.95.107 144.76.221.187 138.201.28.184
 
 
 # vim: filetype=dosini
index 1120ed9deef213035973cd9d793741a2f09fbbac..fa877c2f711363fded429ea26cf15b5643186ad4 100644 (file)
@@ -37,9 +37,12 @@ filter      = postfix.iredmail
 action      = iptables-multiport[name=postfix, port="http,https,smtp,submission,pop3,pop3s,imap,imaps,sieve", protocol=tcp]
 #              sendmail[name=Postfix, dest=root, sender=fail2ban@localhost]
 logpath     = /var/log/syslog.d/mail.log
+ignoreip    = 127.0.0.1 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 185.48.118.128 162.254.24.33 185.102.95.107 144.76.221.187 138.201.28.184
 
 [sogo-iredmail]
 enabled     = false
 filter      = sogo-auth
 action      = iptables-multiport[name=sogo, port="http,https,smtp,submission,pop3,pop3s,imap,imaps,sieve", protocol=tcp]
 logpath     = /var/log/sogo/sogo.log
+
+# vim: filetype=dosini