Browse Source

added fail2ban config for mailsrv

feature/startup-from-labels
Mario Alegre 5 years ago
parent
commit
a7165b5bea
  1. 9
      fail2ban/jail.d/mailsrv.conf

9
fail2ban/jail.d/mailsrv.conf

@ -0,0 +1,9 @@
[mailsrv-postfix]
enabled = true
filter = postfix[mode=extra]
action = iptables[name=mailsrv-postfix, port="smtp,submission,pop3,imap", protocol=tcp]
backend = polling
logpath = /srv/vol/mailsrv/log/mail.log
bantime = 24h
findtime = 5m
maxretry = 3
Loading…
Cancel
Save