1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-16 14:27:01 +00:00

etc: Add fail2ban filter configuration example

This patch adds a fail2ban filter configuration example for chasquid.

It can be used to configure fail2ban to detect IPs causing connection
churn or high rate of errors.
This commit is contained in:
Alberto Bertogli
2024-11-17 10:25:58 +00:00
parent 41bb7b6f5e
commit 9dab8f4f04

View File

@@ -0,0 +1,11 @@
# fail2ban filter config for chasquid SMTP server.
[INCLUDES]
before = common.conf
[Definition]
# Identify addresses that triggered an SMTP connection error.
failregex = SMTP.Conn <ADDR>:\d+: error:
[Init]
journalmatch = _SYSTEMD_UNIT=chasquid.service