You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-25 22:12:28 +02:00
Merge remote-tracking branch 'upstream/master' into upgrade-alpine
This commit is contained in:
@@ -497,6 +497,8 @@ follow these steps:
|
||||
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: mailu-front
|
||||
|
||||
2. Add the /etc/fail2ban/filter.d/bad-auth.conf
|
||||
|
||||
@@ -506,6 +508,7 @@ follow these steps:
|
||||
[Definition]
|
||||
failregex = .* client login failed: .+ client:\ <HOST>
|
||||
ignoreregex =
|
||||
journalmatch = CONTAINER_TAG=mailu-front
|
||||
|
||||
3. Add the /etc/fail2ban/jail.d/bad-auth.conf
|
||||
|
||||
@@ -513,8 +516,8 @@ follow these steps:
|
||||
|
||||
[bad-auth]
|
||||
enabled = true
|
||||
backend = systemd
|
||||
filter = bad-auth
|
||||
logpath = /var/log/messages
|
||||
bantime = 604800
|
||||
findtime = 300
|
||||
maxretry = 10
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: apps/v1beta2
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: mailu-front
|
||||
|
||||
Reference in New Issue
Block a user