1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

More strict variable changes

changing the findtime / bantime and max retry to a more strict state then the defaults.
This commit is contained in:
babywhale321 2023-07-20 23:14:21 -04:00 committed by GitHub
parent 98628622c7
commit 2005cbbed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,59 +11,68 @@ ignoreip = 127.0.0.1/8 PUBLIC_IP ::1 PUBLIC_IPV6
enabled = true
filter = dovecotimap
logpath = /var/log/mail.log
findtime = 30
maxretry = 20
findtime = 24h
bantime = 24h
maxretry = 10
[miab-management]
enabled = true
filter = miab-management-daemon
port = http,https
logpath = /var/log/syslog
maxretry = 20
findtime = 30
findtime = 24h
bantime = 24h
maxretry = 10
[miab-munin]
enabled = true
port = http,https
filter = miab-munin
logpath = /var/log/nginx/access.log
maxretry = 20
findtime = 30
findtime = 24h
bantime = 24h
maxretry = 10
[miab-owncloud]
enabled = true
port = http,https
filter = miab-owncloud
logpath = STORAGE_ROOT/owncloud/nextcloud.log
maxretry = 20
findtime = 120
findtime = 24h
bantime = 24h
maxretry = 10
[miab-postfix465]
enabled = true
port = 465
filter = miab-postfix-submission
logpath = /var/log/mail.log
maxretry = 20
findtime = 30
findtime = 24h
bantime = 24h
maxretry = 10
[miab-postfix587]
enabled = true
port = 587
filter = miab-postfix-submission
logpath = /var/log/mail.log
maxretry = 20
findtime = 30
findtime = 24h
bantime = 24h
maxretry = 10
[miab-roundcube]
enabled = true
port = http,https
filter = miab-roundcube
logpath = /var/log/roundcubemail/errors.log
maxretry = 20
findtime = 30
findtime = 24h
bantime = 24h
maxretry = 10
[recidive]
enabled = true
findtime = 24h
bantime = 24h
maxretry = 10
action = iptables-allports[name=recidive]
# In the recidive section of jail.conf the action contains:
@ -79,8 +88,12 @@ action = iptables-allports[name=recidive]
[postfix-sasl]
enabled = true
findtime = 24h
bantime = 24h
maxretry = 10
[sshd]
enabled = true
maxretry = 7
bantime = 3600
findtime = 24h
bantime = 24h
maxretry = 10