diff --git a/docs/faq.rst b/docs/faq.rst index c73304b0..684cde68 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -566,7 +566,7 @@ follow these steps: # Fail2Ban configuration file [Definition] - failregex = .* client login failed: .+ client:\ + failregex = ^\[info\] \d+#\d+: \*\d+ client login failed: "[\"]+" while in http auth state, client: , server: ignoreregex = journalmatch = CONTAINER_TAG=mailu-front @@ -600,7 +600,7 @@ The above will block flagged IPs for a week, you can of course change it to your # Fail2Ban configuration file [Definition] - failregex = .* Login failed for .+ from . + failregex = : Login failed for .*? from \.$ ignoreregex = journalmatch = CONTAINER_TAG=mailu-admin @@ -625,7 +625,7 @@ The above will block flagged IPs for a week, you can of course change it to your # Fail2Ban configuration file [Definition] - failregex = .* Invalid API token provided by . + failregex = Invalid API token provided by \.$ ignoreregex = journalmatch = CONTAINER_TAG=mailu-admin