2021-04-11 15:33:39 +00:00
|
|
|
[DEFAULT]
|
|
|
|
|
|
|
|
# "bantime" is the number of seconds that a host is banned.
|
|
|
|
bantime = 3h
|
|
|
|
|
|
|
|
# A host is banned if it has generated "maxretry" during the last "findtime"
|
|
|
|
# seconds.
|
|
|
|
findtime = 10m
|
|
|
|
|
|
|
|
# "maxretry" is the number of failures before a host get banned.
|
|
|
|
maxretry = 3
|
|
|
|
|
|
|
|
# "ignoreip" can be a list of IP addresses, CIDR masks or DNS hosts. Fail2ban
|
|
|
|
# will not ban a host which matches an address in this list. Several addresses
|
|
|
|
# can be defined using space (and/or comma) separator.
|
|
|
|
ignoreip = 127.0.0.1/8
|
|
|
|
|
2022-04-05 13:13:59 +00:00
|
|
|
# default ban action
|
|
|
|
# nftables-multiport: block IP only on affected port
|
|
|
|
# nftables-allports: block IP on all ports
|
|
|
|
banaction = nftables-allports
|
2021-04-18 10:55:43 +00:00
|
|
|
|
2021-04-11 15:33:39 +00:00
|
|
|
[dovecot]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[postfix]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[postfix-sasl]
|
|
|
|
enabled = true
|