Skip to content

Commit fcba622

Browse files
committed
fix: simpler regex for fail2ban webmail auth
1 parent 47f1c77 commit fcba622

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Definition]
2-
failregex = ^\s*\S+\s+\S+\s+snappymail(?::|\[\d+\]:)\s+Auth failed: ip=<HOST>\b
3-
^\s*\S+\s+\S+\s+snappymail(?::|\[\d+\]:)\s+Admin Auth failed: ip=<HOST>\b
4-
^\s*\S+\s+\S+\s+snappymail(?::|\[\d+\]:)\s+message repeated \d+ times: \[\s*Auth failed: ip=<HOST>\b
2+
failregex = ^.*snappymail(?::|\[\d+\]:)\s+Auth failed: ip=<HOST>\b
3+
^.*snappymail(?::|\[\d+\]:)\s+Admin Auth failed: ip=<HOST>\b
4+
^.*snappymail(?::|\[\d+\]:)\s+message repeated \d+ times: \[\s*Auth failed: ip=<HOST>\b
55
ignoreregex =

0 commit comments

Comments
 (0)