Update fail2ban.md

Added instructions to edit env to enable fail2ban
This commit is contained in:
Lasslos 2025-03-05 14:00:08 +01:00 committed by GitHub
parent 02f068b2b2
commit 402ffc5447
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ hide:
cap_add:
- NET_ADMIN
```
To use Fail2Ban, change the following line to `1` in your `mailserver.env`:
```
ENABLE_FAIL2BAN=1
```
!!! bug "Running Fail2Ban on Older Kernels"