mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
Fail2Ban block behaviour (#1914)
* new default: block IP on all ports * introduce FAIL2BAN_BLOCKTYPE * fix test * tests added * test added * test blocktype drop * merged two tests
This commit is contained in:
parent
c6dd79dbca
commit
f7836c8b1a
8 changed files with 50 additions and 3 deletions
|
@ -15,6 +15,11 @@ maxretry = 3
|
|||
# can be defined using space (and/or comma) separator.
|
||||
ignoreip = 127.0.0.1/8
|
||||
|
||||
# Default ban action
|
||||
# iptables-multiport: block IP only on affected port
|
||||
# iptables-allports: block IP on all ports
|
||||
banaction = iptables-allports
|
||||
|
||||
[dovecot]
|
||||
enabled = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue